• Resolved sanderstalpers


    After updating the Yoast SEO plugin to v18.4 or v18.4.1, this error occurs. As a result:
    – in the WP backend, the Yoast Search Appearance tab is empty. The tabs at the top are showing, but no settings are showing at all
    – the sitemap.xml is not correct. This includes all content types, including those that were set to hidden
    – as a workaround, I rolled back the plugin version to v18.2 or v18.3. This fixes the issues and things work correctly again.
    – WordPress sends the error report listed below:

    Can you please advise how to fix this? Thanks!

    From: WordPress <wordpress@castoredcstage.wpengine.com>
    Date: Tue, Mar 22, 2022 at 7:03 PM
    Subject: [Castor] Your Site is Experiencing a Technical Issue
    To: <sander.stalpers@castoredc.com>


    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Yoast SEO.

    First, visit your website (https://castoredcstage.wpengine.com/) and check for any visible issues. Next, visit the page where the error was caught (https://castoredcstage.wpengine.com/wp-admin/admin.php?page=wpseo_titles) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.


    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.8.3
    Current theme: Castor EDC (version 3.8.0)
    Current plugin: Yoast SEO (version 18.4.1)
    PHP version 8.0.16

    Error Details
    An error of type E_ERROR was caused in line 14 of the file /nas/content/live/castoredcstage/wp-content/plugins/wordpress-seo/admin/views/tabs/metas/general.php. Error message: Uncaught Error: Call to undefined function wp_is_block_theme() in /nas/content/live/castoredcstage/wp-content/plugins/wordpress-seo/admin/views/tabs/metas/general.php:14
    Stack trace:
    #0 /nas/content/live/castoredcstage/wp-content/plugins/wordpress-seo/admin/class-option-tabs-formatter.php(72): require()
    #1 /nas/content/live/castoredcstage/wp-content/plugins/wordpress-seo/admin/class-option-tabs.php(119): WPSEO_Option_Tabs_Formatter->run(Object(WPSEO_Option_Tabs), Object(Yoast_Form))
    #2 /nas/content/live/castoredcstage/wp-content/plugins/wordpress-seo/admin/pages/metas.php(25): WPSEO_Option_Tabs->display(Object(Yoast_Form))
    #3 /nas/content/live/castoredcstage/wp-content/plugins/wordpress-seo/admin/menu/class-menu.php(80): require_once(‘/nas/content/li…’)
    #4 /nas/content/live/castoredcstage/wp-content/plugins/wordpress-seo/admin/menu/class-menu.php(63): WPSEO_Menu->show_page(‘wpseo_titles’)
    #5 /nas/content/live/castoredcstage/wp-includes/class-wp-hook.php(303): WPSEO_Menu->load_page(”)
    #6 /nas/content/live/castoredcstage/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #7 /nas/content/live/castoredcstage/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #8 /nas/content/live/castoredcstage/wp-admin/admin.php(259): do_action(‘seo_page_wpseo_…’)
    #9 {main}

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘E_ERROR – Uncaught Error: Call to undefined function wp_is_block_theme()’ is closed to new replies.