• Resolved damiendoherty

    (@damiendoherty)


    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

    (@damiendoherty)

    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

    (@maybellyne)

    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

    (@damiendoherty)

    Hi @maybellyne
    We’re using PHP 7.4
    Yes all other plugins and themes are updated.
    Any ideas?

    Many thanks

    D

    Hey @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://www.ads-software.com/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

    (@damiendoherty)

    Hi @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

    Hey @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?

    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 before opening a new request.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin update causes fatal error’ is closed to new replies.