Title: Cannot delete the Plugin
Last modified: November 13, 2024

---

# Cannot delete the Plugin

 *  Resolved [markzoi](https://wordpress.org/support/users/markzoi/)
 * (@markzoi)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-delete-the-plugin-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18133765)
 * Hi [@markzoi](https://wordpress.org/support/users/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.
 *  Thread Starter [markzoi](https://wordpress.org/support/users/markzoi/)
 * (@markzoi)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18134977)
 * 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
 *  Plugin Support [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18136408)
 * [@markzoi](https://wordpress.org/support/users/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.
 *  Thread Starter [markzoi](https://wordpress.org/support/users/markzoi/)
 * (@markzoi)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18137543)
 * 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 …
 *  Plugin Support [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18141873)
 * [@markzoi](https://wordpress.org/support/users/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).
 *  Thread Starter [markzoi](https://wordpress.org/support/users/markzoi/)
 * (@markzoi)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18141912)
 * It’s ok the problem is solved by deleting via ftp. Thank you for you help
 *  [BlogLogistics](https://wordpress.org/support/users/ac2a/)
 * (@ac2a)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18159957)
 * In case this helps, we had the same issue (cannot delete plugin) and the PHP 
   error log provided this:
 *     ```wp-block-code
       [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:75Stack 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 75
       ```
   
 * When 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](https://wordpress.org/support/users/ac2a/).
      Reason: Spelling
 *  Plugin Support [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18160127)
 * [@ac2a](https://wordpress.org/support/users/ac2a/) Yes, that’s very helpful, 
   thanks. We should be able to fix this issue in the next version with that information.
 *  [Gomle](https://wordpress.org/support/users/gomle/)
 * (@gomle)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18184436)
 * I have the exact same problem – not able to uninstall the plugin, here is the
   debug report
 *     ```wp-block-code
       [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:75Stack 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 75
       ```
   
 * I am able to deactivate just fine, but not uninstall.
 * When do you plan for an update?
 *  Plugin Support [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * (@dizzyatinnocraft)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18184514)
 * [@gomle](https://wordpress.org/support/users/gomle/) There will be an update 
   on Monday NZT.

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

The topic ‘Cannot delete the Plugin’ is closed to new replies.

 * ![](https://ps.w.org/matomo/assets/icon-256x256.png?rev=2309115)
 * [Matomo Analytics - Powerful, Privacy-First Insights for WordPress](https://wordpress.org/plugins/matomo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/matomo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/matomo/)
 * [Active Topics](https://wordpress.org/support/plugin/matomo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/matomo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/matomo/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [dizzyatinnocraft](https://wordpress.org/support/users/dizzyatinnocraft/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/cannot-delete-the-plugin-4/#post-18184514)
 * Status: resolved