• Just upgraded to latest Yoast version and getting an uncaught error for a class?
    Any one else suffered with a known fix?

    (xxxxxxxxxx mask the client name in error log below)

    Fatal error: Uncaught Error: Class ‘WPSEO_MyYoast_Proxy’ not found in /home/xxxxxxxxxxxxxxx/public_html/wp-content/plugins/wordpress-seo/admin/class-admin.php:113 Stack trace: #0 /home/xxxxxxxxxxxxxxx/public_html/wp-content/plugins/wordpress-seo/admin/class-admin-init.php(31): WPSEO_Admin->__construct() #1 /home/xxxxxxxxxxxxxxx/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php(417): WPSEO_Admin_Init->__construct() #2 /home/xxxxxxxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(286): wpseo_admin_init(”) #3 /home/xxxxxxxxxxxxxxx/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /home/xxxxxxxxxxxxxxx/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /home/xxxxxxxxxxxxxxx/public_html/wp-settings.php(344): do_action(‘plugins_loaded’) #6 /home/xxxxxxxxxxxxxxx/public_html/wp-config.php(76): require_once(‘/home/xxxxxxxxxxxxxxx…’) #7 /home/xxxxxxxxxxxxxxx/public_html/wp-load.php(37): require_once(‘/home/xxxxxxxxxxxxxxx…’) #8 /home/xxxxxxxxxxxxxxx/public_html/wp-admin/admin.php(31): require_once(‘/home/xxxxxxxxxxxxxxx…’) in /home/xxxxxxxxxxxxxxx/public_html/wp-content/plugins/wordpress-seo/admin/class-admin.php on line 113

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Jerlyn

    (@jerparx)

    Hi @escitsupport

    Sorry to hear about the issue you are having. Can you please confirm if you are running the latest WordPress (5.1) and Yoast SEO 9.7?

    If you update them, does the issue resolve?

    I have this exact same error and can confirm I’m on the latest wordpress (5.1) and I removed the plugin from wp-content/plugins and re-installed it through the plugin install interface. As soon as the plugin was installed I got the exact same error.

    Confirming the same issue; WP 5.1, Yoast 9.7

    Updated the WP install and the plugin a several days ago, and everything was working fine. Then last Friday I abruptly started getting a 500 in the admin area.

    The error is: PHP Fatal error: Uncaught Error: Class ‘WPSEO_MyYoast_Proxy’ not found in /[redacted]/wp-content/plugins/wordpress-seo/admin/class-admin.php:113

    Disabling the plugin eliminates the error. However, we need to be able to use the plugin.

    Although this is likely unrelated, I will mention that I first noticed the error after pushing a testing file to the server (containing a call to phpinfo()). However, even after removing that file I still get a 500 error when I enable Yoast

    Thread Starter ESC IT (Web Design Bristol)

    (@escitsupport)

    We noticed the error when upgrading one of our client’s plugin to the latest version.

    Details of the clients setup is:
    WooCommerce version: 3.5.5
    WordPress version: 5.0.3 – There is a newer version of WordPress available (5.1)
    WordPress multisite: –
    WordPress memory limit: 512 MB

    Hi, @escitsupport

    We are not sure why that is happening though that sounds like a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure you are using the most recent version of Yoast, v9.7 (we are not sure what exact version you have).

    2. Make sure that all your non-Yoast plugins and themes are updated.

    3. Make sure the issue doesn’t persist when Yoast SEO is disabled.

    4. Check for conflicts.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    @travstone, @arcterex

    We ask that you please try the steps above and if the issue continues to happen please create a new topic. That way we can address the issue happening on your specific environment in your own topic. It also helps us to better manage multiple issues.

    Thread Starter ESC IT (Web Design Bristol)

    (@escitsupport)

    All plugins were updated and Yoast was the last to be updated (given that it was in A-Z order)
    As soon as the Yoast plugin was updated, that was the point it crashed the admin side. Version 9.7

    I cannot reactivate due to the crashing.

    Plugin Support devnihil

    (@devnihil)

    @escitsupport The error may be being caused due to an issue with the update not completing successfully. If you manually update the plugin to version 9.7 does this resolve the error? We have instructions on how to upgrade the plugin manually at the following link: https://kb.yoast.com/kb/how-can-i-update-my-free-plugin/#ftp. You will need an FTP program such as FileZilla and your FTP details, which can be obtained from your host provider.

    I experienced the very same problem. It looks like it was caused by PHP opcache being enabled. After force-expiring the cache, the crash disappeared and the WP Admin panel showed up as expected.

    Plugin Support Jerlyn

    (@jerparx)

    @escitsupport Can you please confirm if the same fix applies to your site? Does clearing your cache resolve the issue?

    I did experience similar behavior on couple website. It was related to OPcache and specific settings (eg. opcache.validate_timestamps is 0 or opcache.revalidate_freq is greater than couple seconds). You could install plugin WP OPcache which could help in some case (also this plugin adds button for manual clear OPcache).

    Related WP core ticket: https://core.trac.wordpress.org/ticket/36455

    Yoast SEO has the code which runs opcache_reset(), but it seems that it doesn’t work in all cases.

    Was about to try the manual update, but I noticed v10 is out today… updated via the admin and this seems to have worked fine, although 9.7 did for a few days as well… will post back if things change

    Plugin Support devnihil

    (@devnihil)

    Thanks for confirming that updating the plugin to version 10.0 corrected the issue. Please let us know if you experience any further issues though.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fatal error: Uncaught Error: Class ‘WPSEO_MyYoast_Proxy’ is closed to new replies.