Title: Php Fatel Error
Last modified: March 13, 2023

---

# Php Fatel Error

 *  Resolved [jkinler](https://wordpress.org/support/users/jkinler/)
 * (@jkinler)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/)
 * I got a php fatal error.
   could you tell me what this error means?PHP Fatal error:
   Uncaught Error: Call to undefined function monsterinsights_get_url() in /nas/
   content/live/myunwiredhub/wp-content/plugins/google-analytics-for-wordpress/includes/
   api-request.php:339\nStack trace:\n#0 /nas/content/live/myunwiredhub/wp-content/
   plugins/google-analytics-for-wordpress/includes/install.php(899): MonsterInsights_API_Request-
   >request(Array)\n#1 /nas/content/live/myunwiredhub/wp-content/plugins/google-
   analytics-for-wordpress/includes/install.php(156): MonsterInsights_Install->v8130_ga4_check()\
   n#2 /nas/content/live/myunwiredhub/wp-content/plugins/google-analytics-for-wordpress/
   googleanalytics.php(800): MonsterInsights_Install->init()\n#3 /nas/content/live/
   myunwiredhub/wp-includes/class-wp-hook.php(308): monsterinsights_lite_install_and_upgrade(”)\
   n#4 /nas/content/live/myunwiredhub/wp-includes/class-wp-hook.php(332): WP_Hook-
   >apply_filters(NULL, Array)\n#5 /nas/content/live/myunwiredhub/wp-includes/plugin.
   php(517): WP_Hook->do_action(Array)\n#6 /nas/content/live/myunwiredhub/wp-settings.
   php(639): do_action(‘w in /nas/content/live/myunwiredhub/wp-content/plugins/google-
   analytics-for-wordpress/includes/api-request.php on line 339, referer: [https://hub.myunwired.com/payment/](https://hub.myunwired.com/payment/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-fatel-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16556337)
 * Hi there,
   Are you still receiving the fatal error?-Chris
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16556404)
 * I had the same fatal. I fixed it by force reinstalling via wp-cli (but if you
   don’t have that, disable the plugin, delete it, reinstall it, should work).
 *  [tashword](https://wordpress.org/support/users/tashword/)
 * (@tashword)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16556680)
 * Same issue here – it took the site down so I deactivated the plugin to bring 
   the site back.
 * Now I’m trying to figure out how to fix it properly. I don’t understand “force
   reinstalling it via wp-cli”. If I delete the plugin do I lose all the setting
   and data???
 *  [stevenjc](https://wordpress.org/support/users/stevenjc/)
 * (@stevenjc)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16556727)
 * I’m also seeing similar errors on at least two sites that have upgraded to 8.13.0.
   Issue appears to resolve if I log in to admin area.
 *     ```wp-block-code
       [14-Mar-2023 04:40:14 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function monsterinsights_get_url() in /***/***/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php:339
   
       Stack trace:
       #0 /***/***/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/install.php(899): MonsterInsights_API_Request->request(Array)
       #1 /***/***/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/install.php(156): MonsterInsights_Install->v8130_ga4_check()
       #2 /***/***/public_html/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php(800): MonsterInsights_Install->init()
       #3 /***/***/public_html/wp-includes/class-wp-hook.php(308): monsterinsights_lite_install_and_upgrade('')
       #4 /***/***/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
       #5 /***/***/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #6 /***/***/public_html/wp-settings.php(639): do_action('wp_loaded')
       #7 /***/***/wp-config.php(91): require_once('/***/***...')
       #8 /***/***/public_html/wp-load.php(55): require_once('/***/***...')
       #9 /***/***/public_html/wp-blog-header.php(13): require_once('/***/***...')
       #10 /***/***/public_html/index.php(17): require('/***/***...')
       #11 {main}
         thrown in /***/***/public_html/wp-content/plugins/google-analytics-for-wordpress/includes/api-request.php on line 339
       ```
   
 *  [page52](https://wordpress.org/support/users/page52/)
 * (@page52)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16556748)
 * I also have several sites down this morning because of the automatic Monster 
   Insights update. I’m having to manually go in via FTP and delete the plugin, 
   reinstall and then disconnect/reconnect. Is there a better workaround here? I
   have 100’s of sites with your plugin.
 *  [diverti](https://wordpress.org/support/users/diverti/)
 * (@diverti)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16557092)
 * I have the same issue, and we have to pro version. It has been updated automatically
   at midnight, and the site went down for a long time, it’s really disappointing.
   We disabled the plugin till then, waiting for a fix..
 * – MonsterInsights Pro (from version 8.12.1 to 8.13.0)
 * – MonsterInsights – eCommerce Addon (from version 8.3.9 to 8.3.10)
 * Error log:
 * `Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function
   monsterinsights_get_url() in /var/www/dem/wp-content/plugins/google-analytics-
   premium/includes/api-request.php:339\nStack trace:\n#0 /var/www/dem/wp-content/
   plugins/google-analytics-premium/includes/install.php(899): MonsterInsights_API_Request-
   >request()\n#1 /var/www/dem/wp-content/plugins/google-analytics-premium/includes/
   install.php(156): MonsterInsights_Install->v8130_ga4_check()\n#2 /var/www/dem/
   wp-content/plugins/google-analytics-premium/googleanalytics-premium.php(909):
   MonsterInsights_Install->init()\n#3 /var/www/dem/wp-includes/class-wp-hook.php(
   308): monsterinsights_install_and_upgrade()\n#4 /var/www/dem/wp-includes/class-
   wp-hook.php(332): WP_Hook->apply_filters()\n#5 /var/www/dem/wp-includes/plugin.
   php(517): WP_Hook->do_action()\n#6 /var/www/dem/wp-settings.php(639): do_action()\
   n#7 /var/w…'`
    -  This reply was modified 3 years, 2 months ago by [diverti](https://wordpress.org/support/users/diverti/).
    -  This reply was modified 3 years, 2 months ago by [diverti](https://wordpress.org/support/users/diverti/).
 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16558238)
 * Hi there,
   Google has had an API outage with one of their APIs that our plugin
   uses. It’s incredibly rare for one of their API routes to go down, for context
   this route hasn’t gone down in many years (7+), and unfortunately was overlooked
   in our plugin’s handling of it. The API is now back up for most people so most
   people should be unaffected at this point, though it is still intermittently 
   failing for some.We will have an update out within the next hour to fix this 
   permanently for all users.-Chris
 *  Thread Starter [jkinler](https://wordpress.org/support/users/jkinler/)
 * (@jkinler)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16558883)
 * I just disabled the plugin. I’ll wait for the plugin update before i activate
   the plugin again. Thank you for the response.
 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16558895)
 * Hi there,
   I forgot to update the thread but the plugin update has been released
 * -Chris
 *  [diverti](https://wordpress.org/support/users/diverti/)
 * (@diverti)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16558899)
 * Thank you, we will update the plugin, and will see. Thank you Chris!
 *  [stevenjc](https://wordpress.org/support/users/stevenjc/)
 * (@stevenjc)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16560324)
 * Thanks for the info and update [@chriscct7](https://wordpress.org/support/users/chriscct7/)–
   much appreciated.

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

The topic ‘Php Fatel Error’ 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/)

 * 11 replies
 * 7 participants
 * Last reply from: [stevenjc](https://wordpress.org/support/users/stevenjc/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatel-error/#post-16560324)
 * Status: resolved