Yoast – XML Update & Critical Error Issues
-
Hello,
I was updating my website and doing some checks. I noticed that my sitemaps were not up to date.
All I can see is 6 posts and 2 pages. I’ve added 30 posts over the last few months and there are over a dozen web pages.So I started looking around to see how I manually update and found the article that suggests: disable sitemaps – clear cache – re-enable.
No change.
I started looking deeper, added cache exclusions to all the sitemaps and tried again with no change.
It was when I tried to run the Yoast optimisation again that I ran into a critical error. (I’ll post the critical email at the end)
I tried disabling all other plugins except yoast, switching to the 2019 theme and running the optimisation again. It still generated a critical error.
I tried deleting the wordpress-seo plugin folder, uninstalling the plugin and reinstalling.
It’s picks up all the old settings from somewhere and still causes a critical error when trying to optimise.I found the Yoast Test Helper and clicked all the reset buttons and checked the disable XML cache. Still causes critical errors.
Not sure where to go from here. All I wanted was my sitemap updated. ??
Any suggestions would be much appreciated.
Kind regards,
Simon.Here is the detail from the WordPress Critical Email Notification:
Hi,
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Yoast SEO.
[SECTION WITH LINKS TO SITE ADMIN AND RECOVERY LOGIN REMOVED]
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.7.2
Current theme: Beaver Builder Theme Child (version 1.7.6.1594646025)
Current plugin: Yoast SEO (version 16.4)
PHP version 7.4.13Error Details
=============
An error of type E_ERROR was caused in line 62 of the file /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wordpress-seo/src/values/semrush/semrush-token.php. Error message: Uncaught Yoast\WP\SEO\Exceptions\SEMrush\Tokens\Empty_Property_Exception: Token creation failed. Propertyaccess_token
cannot be empty. in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wordpress-seo/src/values/semrush/semrush-token.php:62
Stack trace:
#0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wordpress-seo/src/config/semrush-client.php(187): Yoast\WP\SEO\Values\SEMrush\SEMrush_Token->__construct()
#1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wordpress-seo/src/config/semrush-client.php(75): Yoast\WP\SEO\Config\SEMrush_Client->get_token_from_storage()
#2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(1647): Yoast\WP\SEO\Config\SEMrush_Client->__construct()
#3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(844): Yoast\WP\SEO\Generated\Cached_Container->getSEMrushClientService()
#4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wordpress-seo/src/generated/container.php(3403`
- The topic ‘Yoast – XML Update & Critical Error Issues’ is closed to new replies.