Title: Critical errors
Last modified: March 15, 2023

---

# Critical errors

 *  Resolved [xdriver](https://wordpress.org/support/users/xdriver/)
 * (@xdriver)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-errors-19/)
 *     ```wp-block-code
       This happened as soon as the plugin was automatically updated. Now my site says "There has been a critical error on this website." And I have no idea what to do. I can not log in to wp-admin. Thank you
   
       0 /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/includes/install.php(899): MonsterInsights_API_Request->request(Array)
   
       1 /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/includes/install.php(156): MonsterInsights_Install->v8130_ga4_check()
   
       2 /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php(800): MonsterInsights_Install->init()
   
       3 /home3/stephenr/public_html/blogrobbenterprises/wp-includes/class-wp-hook.php(308): monsterinsights_lite_install_and_upgrade('')
   
       4 /home3/stephenr/public_html/blogrobbenterprises/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
   
       5 /home3/stephenr/public_html/blogrobbenterprises/wp-i in /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php on line 339
   
       [14-Mar-2023 23:59:07 UTC] PHP Fatal error: Uncaught Error: Call to undefined function monsterinsights_get_url() in /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php:339
       Stack trace:
   
       0 /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/includes/install.php(899): MonsterInsights_API_Request->request(Array)
   
       1 /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/includes/install.php(156): MonsterInsights_Install->v8130_ga4_check()
   
       2 /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php(800): MonsterInsights_Install->init()
   
       3 /home3/stephenr/public_html/blogrobbenterprises/wp-includes/class-wp-hook.php(308): monsterinsights_lite_install_and_upgrade('')
   
       4 /home3/stephenr/public_html/blogrobbenterprises/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
   
       5 /home3/stephenr/public_html/blogrobbenterprises/wp-i in /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php on line 339
   
       [15-Mar-2023 00:00:02 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/real-estate-listing-realtyna-wpl-pro/libraries/services/addon_mls.php on line 952
       [15-Mar-2023 00:00:03 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home3/stephenr/public_html/blogrobbenterprises/wp-content/plugins/real-estate-listing-realtyna-wpl-pro/libraries/services/addon_mls.php on line 952
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Tim H](https://wordpress.org/support/users/tharg3/)
 * (@tharg3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-errors-19/#post-16561473)
 * Hey [@xdriver](https://wordpress.org/support/users/xdriver/)
 * I’m sorry you received that error. Google had an API outage with one of the endpoints
   that MonsterInsights uses. It’s extremely rare for one of their API routes to
   go down (for context, this route hasn’t gone down in many years (7+)). Unfortunately,
   we overlooked our plugin’s handling of it, we have patched that for the future.
   The Google API end point is also now back up and running.
 * Please make sure you are updated to the latest version of MonsterInsights.
 * Thank you
 *  Thread Starter [xdriver](https://wordpress.org/support/users/xdriver/)
 * (@xdriver)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-errors-19/#post-16561714)
 * Does that mean my site should automatically be working now, without the need 
   to update to your patched plugin? If that happens to be the case, my site is 
   still down. Thank you.
 *  Plugin Support [Michelle D.](https://wordpress.org/support/users/devmich/)
 * (@devmich)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/critical-errors-19/#post-16567742)
 * Hi [@xdriver](https://wordpress.org/support/users/xdriver/),
 * To regain access to your WordPress admin, please try manually deactivating MonsterInsights(
   google-analytics-for-wordpress) by following this guide: [https://www.wpbeginner.com/beginners-guide/how-to-easily-deactivate-wordpress-plugins/#deactivateallpluginsviaftp](https://www.wpbeginner.com/beginners-guide/how-to-easily-deactivate-wordpress-plugins/#deactivateallpluginsviaftp)
 * Once your site has been restored, please update MonsterInsights to version 8.13.1
   before re-activating the plugin.
 * If you are continuing to experience issues, would you be able to reach out to
   us at [https://www.monsterinsights.com/lite-support/](https://www.monsterinsights.com/lite-support/)?
   Our team will be happy to take a closer look at things for you.
 * Thanks so much!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Critical errors’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

## Tags

 * [critical errors](https://wordpress.org/support/topic-tag/critical-errors/)

 * 3 replies
 * 3 participants
 * Last reply from: [Michelle D.](https://wordpress.org/support/users/devmich/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/critical-errors-19/#post-16567742)
 * Status: resolved