• Resolved dmpinder

    (@dmpinder)


    Hi there,

    I’ve got about 29 sites running the latest WP and Yoast plugin, but all are showing this error in admin:

    Fatal error: Uncaught Error: Call to undefined method WPSEO_Utils::is_yoast_seo_premium() in /home/forge/xxx/production/public/wp-content/plugins/wordpress-seo/admin/class-admin.php:171 Stack trace: #0 /home/forge/xxx/production/public/wp-includes/class-wp-hook.php(298): WPSEO_Admin->register_settings_page('') #1 /home/forge/xxx/production/public/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /home/forge/xxx/production/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/forge/xxx/production/public/wp-admin/includes/menu.php(149): do_action('admin_menu', '') #4 /home/forge/xxx/production/public/wp-admin/menu.php(283): require_once('/home/forge/bla...') #5 /home/forge/xxx/production/public/wp-admin/admin.php(138): require('/home/forge/bla...') #6 /home/forge/xxx/production/public/wp-admin/plugins.php(10): require_o in /home/forge/xxx/production/public/wp-content/plugins/wordpress-seo/admin/class-admin.php on line 171

    The only way to get access to the admin is to disable the plugin. I’ve removed the plugin and re-installed from wp.org, but I get the same error.

    Any idea how to fix it?

    Thanks,

    Darren

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dmpinder

    (@dmpinder)

    Nevermind, fixed the issue, it was opcache needed clearing. Can you build a way to automatically clear opcache on future plugin updates?

    Thanks!

    how to clear opcache? i have the same error. It is good solution Yoast to integrate autamatic opcache clreaner with the updates versions.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP error with latest version’ is closed to new replies.