Hi,
Experienced a similar issue this morning with a client’s website. Getting a critical error due to the new version of Yoast. Deactivating Yoast brings the site back up. Here’s the error log in the WP email I received when the site went down:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.4
Current theme: Pro – Child Theme (version 1.0.0)
Current plugin: (version )
PHP version 7.3.16-1+ubuntu18.04.1+deb.sury.org+1
Error Details
=============
An error of type E_ERROR was caused in line 130 of the file /nas/content/live/minorarcata/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php. Error message: Uncaught Error: Class ‘WPSEO_Post_Type_Sitemap_Provider’ not found in /nas/content/live/minorarcata/wp-content/plugins/wordpress-seo/inc/sitemaps/class-sitemaps.php:130
Stack trace:
#0 /nas/content/live/minorarcata/wp-includes/class-wp-hook.php(287): WPSEO_Sitemaps->init_sitemaps_providers(”)
#1 /nas/content/live/minorarcata/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#2 /nas/content/live/minorarcata/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /nas/content/live/minorarcata/wp-settings.php(524): do_action(‘after_setup_the…’)
#4 /nas/content/live/minorarcata/wp-config.php(120): require_once(‘/nas/content/li…’)
#5 /nas/content/live/minorarcata/wp-load.php(37): require_once(‘/nas/content/li…’)
#6 /nas/content/live/minorarcata/wp-login.php(12): require(‘/nas/content/li…’)
#7 {main}
thrown