Title: Plugin update causes fatal error
Last modified: September 15, 2022

---

# Plugin update causes fatal error

 *  Resolved [damiendoherty](https://wordpress.org/support/users/damiendoherty/)
 * (@damiendoherty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/)
 * Hello
    We are unable to update the Yoast plugin beyond 19.1. Doing so crashes
   the site with fatal errors like this:
 *     ```
       [Thu Sep 15 12:19:28.064975 2022] [proxy_fcgi:error] [pid 1537094:tid 139771976308480] [client 192.168.0.152:34296] [114.119.146.51, 127.0.0.1] AH01071: 
       Got error 'PHP message: PHP Warning:  include(/home/public_html/wp-content/plugins/wordpress-seo/vendor/composer/../../admin/class-yoast-notification-center.php): 
       failed to open stream: No such file or directory in /home/public_html/wp-content/plugins/favorites/vendor/composer/ClassLoader.php on line 412PHP message: PHP Warning:  include(): 
       Failed opening '/home/public_html/wp-content/plugins/wordpress-seo/vendor/composer/../../admin/class-yoast-notification-center.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/public_html/wp-content/plugins/favorites/vendor/composer/ClassLoader.php on line 412PHP message: PHP Fatal error:  Uncaught Error: Class 'Yoast_Notification_Center' not found in /home/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php:466\nStack trace:\n#0 /home/public_html/wp-includes/class-wp-hook.php(307): load_yoast_notifications('')\n#1 /home/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#2 /home/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#3 /home/public_html/wp-settings.php(461): do_action('plugins_loaded')\n#4 /home/public_html/wp-config.php(105): require_once('/home/...')\n#5 /home/public_html/wp-load.php(50): require_once('/home/...')\n#6 /home/public_html/wp-blog-header.php(13): require_once('/home/...')\n#7 /home/public_html/index.php(17): require('/home/...')\n#8 {main}\n  thrown in /home/public_html/wp-content/plugins/wordpress-seo/wp-seo-mai...', referer /category/stories/page/3/
       ```
   
 * I see lots of others having issues with updating the plugin too.
    Is there a 
   reason / answer to any of this please?
 * Many thanks

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

 *  Thread Starter [damiendoherty](https://wordpress.org/support/users/damiendoherty/)
 * (@damiendoherty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16012783)
 * Actually I think this may be the error that is causing the server to crash:
 * `AH01071: Got error ': strpos(): Empty needle in /home/public_html/wp-includes/
   plugin.php on line 721PHP message:`
 * This error seems to be in an infinite loop that causes memory issues that lead
   to fatal errors.
 * Hope this helps.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16027131)
 * Hello Damiendoherty
 * Thanks for reaching out regarding that PHP error. First, can you let us know 
   what WordPress and Yoast SEO versions you have? Also, are other plugins and theme
   updated?
 *  Thread Starter [damiendoherty](https://wordpress.org/support/users/damiendoherty/)
 * (@damiendoherty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16037928)
 * Hi [@maybellyne](https://wordpress.org/support/users/maybellyne/)
    We’re using
   PHP 7.4 Yes all other plugins and themes are updated. Any ideas?
 * Many thanks
 * D
 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16055087)
 * Hey [@damiendoherty](https://wordpress.org/support/users/damiendoherty/),
 * Thank you for your reply and patience.
 * Checking your initial error stack, I see it references a file but fails to do
   so: “No such file or directory” – that lets me think that the installation or
   update just failed and not all files were extracted successfully.
 * If you download our latest installation file on [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)–
   and upload that to your Dashboard > Plugins > Add New > Upload plugin – and confirms
   to proceed the installation and replace your current version of the plugin, does
   it work then?
 *  Thread Starter [damiendoherty](https://wordpress.org/support/users/damiendoherty/)
 * (@damiendoherty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16057778)
 * Hi [@jeroenrotty](https://wordpress.org/support/users/jeroenrotty/)
    Thanks for
   getting back to me. Yes I’ve tried that and reinstalled all the files several
   times and still get the same issue.
 * Many thanks
 * Damien
 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16057826)
 * Hey [@damiendoherty](https://wordpress.org/support/users/damiendoherty/),
 * Thank you for your reply, sorry to hear that.
 * However, looking again at the first error stack, it might be related to a plugin
   conflict between our plugin and the “favorites” plugin you are running, as seen
   in the error – referenced to:
 * wp-content/plugins/favorites/vendor/composer
 * Is that plugin updated and well maintained? I have a feeling that the plugin 
   has some code that references our plugin but on an old file or location in our
   plugin and that fails to work. Can you temporarily disable the “favorites” plugin
   and see if Yoast SEO then runs as normal?
 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16068128)
 * This thread was marked resolved due to a lack of activity, but you’re always 
   welcome to re-open the topic. Please read [this post](https://wordpress.org/support/topic/read-this-before-your-post/)
   before [opening a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).

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

The topic ‘Plugin update causes fatal error’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/plugin-update-causes-fatal-error-3/#post-16068128)
 * Status: resolved