Fatal Errors in the WordPress Backend after Latest Site Kit Update
-
Hi All,
I’ve been using Google Site Kit for years without problems until the latest update. Here’s the story:
When I tried to log into my WordPress site last night, I received the “There has been a critical error on your website. Please check your site admin email inbox for instructions.” error and couldn’t get into the backend.So, I logged in server-side, enabled debugging, and tried to log in again so I could see the error, and I got this (noting EOAS is the name of my website):
Fatal error: Uncaught Error: Call to undefined function Google\Site_Kit\mb_check_encoding() in /home/securesites/eoas/wordpress/wp-content/plugins/google-site-kit/includes/Plugin.php:100 Stack trace: #0 /home/securesites/eoas/wordpress/wp-includes/class-wp-hook.php(310): Google\Site_Kit\Plugin->Google\Site_Kit\{closure}() #1 /home/securesites/eoas/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/securesites/eoas/wordpress/wp-includes/pluggable.php(1600): apply_filters() #3 /home/securesites/eoas/wordpress/wp-includes/functions.php(1959): wp_validate_redirect() #4 /home/securesites/eoas/wordpress/wp-content/plugins/elementor/app/app.php(88): wp_get_referer() #5 /home/securesites/eoas/wordpress/wp-content/plugins/elementor/core/base/base-object.php(142): Elementor\App\App->get_init_settings() #6 /home/securesites/eoas/wordpress/wp-content/plugins/elementor/core/base/base-object.php(57): Elementor\Core\Base\Base_Object->ensure_settings() #7 /home/securesites/eoas/wordpress/wp-content/plugins/elementor in /home/securesites/eoas/wordpress/wp-content/plugins/google-site-kit/includes/Plugin.php on line 100
So, I figure ‘alright, let’s see what auto-updated over the weekend’ since I last logged in last week and everything was fine, and I saw Elementor and Site Kit had both auto-updated over the weekend, and both of those plugins were in the error the above.
I initially figured maybe Elementor was the problem, and I disabled it and completely removed it, but instead of that fixing the problem, it changed the error:Fatal error: Uncaught Error: Call to undefined function Google\Site_Kit\mb_check_encoding() in /home/securesites/eoas/wordpress/wp-content/plugins/google-site-kit/includes/Plugin.php:100 Stack trace: #0 /home/securesites/eoas/wordpress/wp-includes/class-wp-hook.php(310): Google\Site_Kit\Plugin->Google\Site_Kit\{closure}() #1 /home/securesites/eoas/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/securesites/eoas/wordpress/wp-includes/pluggable.php(1600): apply_filters() #3 /home/securesites/eoas/wordpress/wp-includes/functions.php(1959): wp_validate_redirect() #4 /home/securesites/eoas/wordpress/wp-includes/pluggable.php(1259): wp_get_referer() #5 /home/securesites/eoas/wordpress/wp-admin/plugins.php(56): check_admin_referer() #6 {main} thrown in /home/securesites/eoas/wordpress/wp-content/plugins/google-site-kit/includes/Plugin.php on line 100
I now suspected Google Site Kit to be the issue, so I disabled and removed it completely, and the backend was now error free. I then reinstalled Elementor and activated it, and the backend still remained error free!
I then reinstalled and re-activated Site Kit, and the errors came flying back. So, I ruled out Elementor as a cause, but I have no idea what’s going on with Google Site Kit. It’s deactivated on my website in the meantime. Again, there were no issues before the latest update from over the weekend, so my guess is something that changed in Google Site Kit is not playing well with my website.It’s interesting to me that this had no bearing on the pubic face of the website, which continued to work fine. These errors were only happening when I was trying to log in and navigate around the backend.
Any insights or suggestions would be welcomed! Thanks.
- The topic ‘Fatal Errors in the WordPress Backend after Latest Site Kit Update’ is closed to new replies.