• Resolved Jadanor

    (@janorris)


    Hi,

    I’m having a similar issue to this topic. Rolling back to WP 6.3.2 fixes the issue.

    When switching is activated, the site returns “Fatal error: Cannot redeclare,” citing a function path (in functions.php) that was previously declared in the publicly active theme. It indicates that the switched theme is loading the public-facing functions and then the functions in the test theme.

    The theme I am switching to is very simple, just index.php, functions.php (one function), and style.css. When I switch to the Twenty Twenty-Four theme, it seems to work. Are there additional theme elements that are needed to make the plugin work with newer versions of WP?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. As explained on that other thread:

    I’m not sure what might be happening, but if the issue can be repeated on default WordPress site, I can investigate and try to resolve any issue asap. What are the steps so I can repeat the issue?

    In other words, in order for me to fix the issue, I need to be able to repeat it on default WP setup.

    Thread Starter Jadanor

    (@janorris)

    Hi Jeff,

    I’m not sure how to recreate the issue… it just happens when I activate the switch to this theme that previously worked. So I guess it’s an issue with the theme itself. Maybe some new theme requirements with the latest WP versions that I need to study.

    If I can figure out what is causing it I’ll report back.

    Thank you for your help

    Plugin Author Jeff Starr

    (@specialk)

    Hi @janorris,

    Yeah that would be the first thing to check, whether or not it’s a theme-related issue. From there, test your other plugins, and also check the site’s error log for any related entries would be very useful.

    • This reply was modified 1 year, 4 months ago by Jeff Starr.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error past WP 6.3.2’ is closed to new replies.