{"id":16241069,"date":"2022-11-28T15:18:40","date_gmt":"2022-11-28T15:18:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/fatal-error-happened-during-update\/"},"modified":"2022-11-28T15:18:40","modified_gmt":"2022-11-28T15:18:40","slug":"fatal-error-happened-during-update","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/fatal-error-happened-during-update\/","title":{"rendered":"Fatal Error happened during update"},"content":{"rendered":"<p>OK, Please allow me changed the way to ask.<\/p>\n<p>I haven&#8217;t update Yoast SEO for a very long time.<\/p>\n<p>When I trying to update the plugin from [Yoast SEO Ver 15.1] to [Yoast SEO Ver 19.10], I got following Warnings &amp; Fatal error &amp; Uncaught Error.<br \/>\nFYI: My website WordPress version is 6.1.1<br \/>\nBut the plugin update page also shows &#8220;Yoast SEO updated successfully.&#8221;<\/p>\n<p>I am really confused, what is going on???<br \/>\nThis happened is because &#8220;when the plugin files are cached and some old files are still used after updating the plugin.&#8221; ?<\/p>\n<p>Please see the details below.<\/p>\n<p>devnihil (@devnihil) Please help<br \/>\nThank You<br \/>\nBest Regards<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>The update process is starting. This process may take a while on some hosts, so please be patient.<\/p>\n<p>Enabling Maintenance mode\u2026<\/p>\n<p>Updating Plugin Yoast SEO (1\/1)<br \/>\nYoast SEO updated successfully. Show details.<\/p>\n<p>Disabling Maintenance mode\u2026<\/p>\n<p>Warning: include(\/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/vendor\/composer\/..\/..\/inc\/class-my-yoast-api-request.php): failed to open stream: No such file or directory in \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/custom-facebook-feed-pro\/vendor\/composer\/ClassLoader.php on line 478<\/p>\n<p>Warning: include(): Failed opening &#8216;\/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/vendor\/composer\/..\/..\/inc\/class-my-yoast-api-request.php&#8217; for inclusion (include_path=&#8217;.:\/usr\/local\/php74\/pear&#8217;) in \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/custom-facebook-feed-pro\/vendor\/composer\/ClassLoader.php on line 478<\/p>\n<p>Fatal error: Uncaught Error: Class &#8216;WPSEO_MyYoast_Api_Request&#8217; not found in \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/inc\/class-addon-manager.php:406 Stack trace: #0 \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/inc\/class-addon-manager.php(566): WPSEO_Addon_Manager-&gt;request_current_sites() #1 \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/inc\/class-addon-manager.php(107): WPSEO_Addon_Manager-&gt;get_site_information() #2 \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/inc\/class-addon-manager.php(118): WPSEO_Addon_Manager-&gt;get_subscriptions() #3 \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/inc\/class-addon-manager.php(215): WPSEO_Addon_Manager-&gt;get_subscription(&#8216;yoast-seo-wordp&#8230;&#8217;) #4 \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-includes\/class-wp-hook.php(310): WPSEO_Addon_Manager-&gt;check_for_updates(Object(stdClass)) #5 \/home\/cust in \/home\/customer\/www\/examplewebsite.com\/public_html\/wp-content\/plugins\/wordpress-seo\/inc\/class-addon-manager.php on line 406<br \/>\nThere has been a critical error on this website. Please check your site admin email inbox for instructions.<\/p>\n<p>Learn more about troubleshooting WordPress.<\/p>\n","protected":false},"template":"","class_list":["post-16241069","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16241069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16241069\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16241069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}