Your uninstaller is broken
-
$ wp plugin uninstall google-analytics-for-wordpress PHP Fatal error: Uncaught Error: Call to a member function delete_auth() on null in /var/www/releases/2/public/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php:667 Stack trace: #0 /var/www/releases/2/public/wp-includes/class-wp-hook.php(286): monsterinsights_lite_uninstall_hook('') #1 /var/www/releases/2/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /var/www/releases/2/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /var/www/releases/2/public/wp-admin/includes/plugin.php(1042): do_action('uninstall_googl...') #4 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(894): uninstall_plugin('google-analytic...') #5 [internal function]: Plugin_Command->uninstall(Array, Array) #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(98): call_user_func(Array, Array, Array) #7 [internal fun in /var/www/releases/2/public/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 667 Fatal error: Uncaught Error: Call to a member function delete_auth() on null in /var/www/releases/2/public/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php:667 Stack trace: #0 /var/www/releases/2/public/wp-includes/class-wp-hook.php(286): monsterinsights_lite_uninstall_hook('') #1 /var/www/releases/2/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /var/www/releases/2/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /var/www/releases/2/public/wp-admin/includes/plugin.php(1042): do_action('uninstall_googl...') #4 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(894): uninstall_plugin('google-analytic...') #5 [internal function]: Plugin_Command->uninstall(Array, Array) #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(98): call_user_func(Array, Array, Array) #7 [internal fun in /var/www/releases/2/public/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 667
- Plugin Version: 7.6.0
- Non pro (free) mode
- Manual GA profile mode
- WP Version: 4.9.10
- PHP Version: 7.2
I’ve had a quick look, possibly due to
MonsterInsights_Lite::__get
expecting the keyauth
whereas you’re accessing$instance->api_auth
. I can’t see whereMonsterInsights_Lite::api_auth
would be getting inited.- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Your uninstaller is broken’ is closed to new replies.