Cannot delete the Plugin
-
Hi, today suddenly the plugin was give an error so I decide to delete but for the first time I’m experiencing WP massage impossible to delete the plugin critical error … is thare a way you can suggest how? Thank you
The page I need help with: [log in to see the link]
-
Hi @markzoi, I’m sorry you’re experiencing an error. Could you tell me what error you’re seeing?
If you want to uninstall the plugin without going through WordPress, you could also delete the plugin files, which you can do through the interface you’re hosting provider provides. You would need to delete the files in the wp-content/plugins/matomo directory.
Thanks for your replay, yes Deletion worked via FTP … this was the message: deletion failed. A critical error has occurred on the website. Learn about WordPress troubleshooting.
Bye, Mark
@markzoi Sorry, I was asking about the error you saw before trying to delete the plugin. If possible, we’d like to know what the error was so we can try and fix it.
Hi this is the only message I got it, no error number nothing … I translate the message but that’s it 😐 I hope It help …
@markzoi I see, in that case the real error message will be in the PHP error logs. If you are willing to look for them, we’d certainly appreciate it, but since your immediate issue is resolved, it’s understandable if you don’t want to spend more time on this. For now I’ll mark this issue as resolved (you’ll still be able to comment here, though).
It’s ok the problem is solved by deleting via ftp. Thank you for you help
In case this helps, we had the same issue (cannot delete plugin) and the PHP error log provided this:
[25-Nov-2024 17:53:19 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WpMatomo\matomo_filter_incompatible_plugins() in /home/xxxxxxxx/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php:75
Stack trace:
#0 /home/xxxxxxxx/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php(118): WpMatomo\Bootstrap::bootstrap_environment()
#1 /home/xxxxxxxx/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php(148): WpMatomo\Bootstrap->bootstrap()
#2 /home/xxxxxxxx/public_html/wp-content/plugins/matomo/classes/WpMatomo/Uninstaller.php(151): WpMatomo\Bootstrap::do_bootstrap()
#3 /home/xxxxxxxx/public_html/wp-content/plugins/matomo/classes/WpMatomo/Uninstaller.php(73): WpMatomo\Uninstaller->drop_tables()
#4 /home/xxxxxxxx/public_html/wp-content/plugins/matomo/classes/WpMatomo/Uninstaller.php(46): WpMatomo\Uninstaller->uninstall_blog(true)
#5 /home/xxxxxxxx/public_html/wp-content/plugins/matomo/uninstall.php(22): WpMatomo\Uninstaller->uninstall(true)
#6 /home/xxxxxxxx/public_html/wp-admin/includes/plugin.php(1314): include_once('/home/xxxxxxxx/...')
#7 /home/xxxxxxxx/public_html/wp-admin/includes/plugin.php(970): uninstall_plugin('matomo/matomo.p...')
#8 /home/xxxxxxxx/public_html/wp-admin/includes/ajax-actions.php(4771): delete_plugins(Array)
#9 /home/xxxxxxxx/public_html/wp-includes/class-wp-hook.php(324): wp_ajax_delete_plugin('')
#10 /home/xxxxxxxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#11 /home/xxxxxxxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#12 /home/xxxxxxxx/public_html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_delete-...')
#13 {main}
thrown in /home/xxxxxxxx/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php on line 75When removing all plugins and reverting to the TwentyTwentyFive theme, we still were unable to delete the plugin. Maybe this error code above can help narrow down where this issue might come from? Fortunately we restored from backups to avoid extraneous data being left in the database.
-
This reply was modified 1 year, 5 months ago by
BlogLogistics. Reason: Spelling
@ac2a Yes, that’s very helpful, thanks. We should be able to fix this issue in the next version with that information.
I have the exact same problem – not able to uninstall the plugin, here is the debug report
[07-Dec-2024 10:55:59 UTC] Matomo: Matomo is now uninstalling blogId 1
[07-Dec-2024 10:55:59 UTC] Matomo: Scheduled tasks uninstall all events
[07-Dec-2024 10:55:59 UTC] Matomo: Removing options with prefix matomo-roles-setup
[07-Dec-2024 10:55:59 UTC] Matomo: Removing usermeta with prefix matomo_dashboard_widgets
[07-Dec-2024 10:55:59 UTC] Matomo: Matomo is forced to remove all data
[07-Dec-2024 10:55:59 UTC] Matomo: Removing options with prefix matomo-
[07-Dec-2024 10:55:59 UTC] Matomo: Removing options with prefix matomo_global-
[07-Dec-2024 10:55:59 UTC] Matomo: Removing options with prefix matomo_global-
[07-Dec-2024 10:55:59 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WpMatomo\matomo_filter_incompatible_plugins() in /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php:75
Stack trace: 0 /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php(118): WpMatomo\Bootstrap::bootstrap_environment() 1 /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php(148): WpMatomo\Bootstrap->bootstrap() 2 /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/classes/WpMatomo/Uninstaller.php(151): WpMatomo\Bootstrap::do_bootstrap() 3 /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/classes/WpMatomo/Uninstaller.php(73): WpMatomo\Uninstaller->drop_tables() 4 /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/classes/WpMatomo/Uninstaller.php(46): WpMatomo\Uninstaller->uninstall_blog() 5 /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/uninstall.php(22): WpMatomo\Uninstaller->uninstall() 6 /home/myuser/domains/mydomain.com/public_html/wp-admin/includes/plugin.php(1314): include_once('…') 7 /home/myuser/domains/mydomain.com/public_html/wp-admin/includes/plugin.php(970): uninstall_plugin() 8 /home/myuser/domains/mydomain.com/public_html/wp-admin/includes/ajax-actions.php(4771): delete_plugins() 9 /home/myuser/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(324): wp_ajax_delete_plugin() 10 /home/myuser/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 11 /home/myuser/domains/mydomain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 12 /home/myuser/domains/mydomain.com/public_html/wp-admin/admin-ajax.php(192): do_action() 13 {main}
thrown in /home/myuser/domains/mydomain.com/public_html/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php on line 75I am able to deactivate just fine, but not uninstall.
When do you plan for an update?
@gomle There will be an update on Monday NZT.
-
This reply was modified 1 year, 5 months ago by
The topic ‘Cannot delete the Plugin’ is closed to new replies.