Title: Delete Plugin
Last modified: May 15, 2021

---

# Delete Plugin

 *  [eusebiofg](https://wordpress.org/support/users/eusebiofg/)
 * (@eusebiofg)
 * [5 years ago](https://wordpress.org/support/topic/delete-plugin-23/)
 * Hello,
    When I try to delete the plugin I get this error message:
 * Deletion Failed: A critical error has occurred on your website. Learn more about
   troubleshooting in WordPress.
 * Can you help me?
    Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [5 years ago](https://wordpress.org/support/topic/delete-plugin-23/#post-14442747)
 * I’m sorry about this problem, which can happen if the delete gets interrupted
   for some reason. It is something I intend to fix on the next release, but for
   your purposes, you can make a quick edit to the plugin that will allow it to 
   complete the deletion.
 * In the plugin file PDb_init.php on line 348 and 349, you’ll see:
 *     ```
       $sql = 'DROP TABLE ' . Participants_Db::$fields_table . ', ' . Participants_Db::$participants_table . ', ' . Participants_Db::$groups_table . ';';
           $wpdb->query( $sql );
       ```
   
 * Just comment those lines out since the tables have already been deleted, like
   this:
 *     ```
       // $sql = 'DROP TABLE ' . Participants_Db::$fields_table . ', ' . Participants_Db::$participants_table . ', ' . Participants_Db::$groups_table . ';';
       // $wpdb->query( $sql );
       ```
   
 * The proceed with the plugin delete.
    -  This reply was modified 5 years ago by [Roland Barker](https://wordpress.org/support/users/xnau/).
    -  This reply was modified 5 years ago by [Roland Barker](https://wordpress.org/support/users/xnau/).

Viewing 1 replies (of 1 total)

The topic ‘Delete Plugin’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/delete-plugin-23/#post-14442747)
 * Status: not resolved