• Resolved reeper6868

    (@reeper6868)


    Hi,

    Please help. Have staged my site locally to test your plugin and would like to switch themes but when I saved Enable theme switching it causes error in the site. Below is the error code:

    Fatal error: Uncaught Error: Call to undefined function mesmerize_is_inner()
    in \wp-content\plugins\mesmerize-companion\theme-data\mesmerize\options\overlap.php on line 77
    
    Call stack:
    
    Mesmerize\Companion::{closure}()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-includes/general-template.php:3042
    wp_head()
    wp-includes/template-canvas.php:17
    include()
    wp-includes/template-loader.php:106
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17

    I am using Highlight theme at the moment. I tried loading the Twenty-Twenty-Two theme via right-clicking the thumbnail and pasting the copied URL address.
    Please help
    thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter reeper6868

    (@reeper6868)

    Site works fine after Enable theme switching is disabled.

    Plugin Author Jeff Starr

    (@specialk)

    Glad to help. According to the error you reported, this issue is from something called Mesmerize\Companion. It looks like the main problem is this:

    Call to undefined function mesmerize_is_inner()

    I am not seeing anything related to Theme Switcha in the error description. Best advice would be to ask the “Mesmerize\Companion” provider for help. They will be able to add the missing function, mesmerize_is_inner().

    • This reply was modified 2 years, 8 months ago by Jeff Starr.
    Thread Starter reeper6868

    (@reeper6868)

    Ok thanks I’ll contact their support and see.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when switching is activated’ is closed to new replies.