Title: Delete plugin does not delete data
Last modified: November 8, 2022

---

# Delete plugin does not delete data

 *  [Tesla Light Shows](https://wordpress.org/support/users/teslalightshows/)
 * (@teslalightshows)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/)
 * Hey there,
 * I recently moved my whole Woocommerce page from one web host to another. I think
   something broke during the update for this plugin because I now get some errors:
 *     ```
       WordPress version 6.1
       Active theme: Storefront Child (version 1.0)
       Current plugin: YITH WooCommerce Product Add-ons & Extra Options (version 2.15.0)
       PHP version 8.0.25
   
       Error Details
       =============
       An error of type E_ERROR was caused in line 92 of the file /homepages/33/d4296851000/htdocs/wordpress/wp-content/plugins/yith-woocommerce-product-add-ons/init.php. Error message: Uncaught Error: Failed opening required 'includes/class-yith-wapo-addon.php' (include_path='.:/usr/lib/php8.0') in /homepages/33/d4296851000/htdocs/wordpress/wp-content/plugins/yith-woocommerce-product-add-ons/init.php:92
       Stack trace:
       #0 /homepages/33/d4296851000/htdocs/wordpress/wp-includes/class-wp-hook.php(308): yith_wapo_init('')
       #1 /homepages/33/d4296851000/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
       #2 /homepages/33/d4296851000/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #3 /homepages/33/d4296851000/htdocs/wordpress/wp-settings.php(480): do_action('plugins_loaded')
       #4 /homepages/33/d4296851000/htdocs/wordpress/wp-config.php(117): require_once('/homepages/33/d...')
       #5 /homepages/33/d4296851000/htdocs/wordpress/wp-load.php(50): require_once('/homepages/33/d...')
       #6 /homepages/33/d4296851000/htdocs/wordpress/wp-login.php(12): require('/homepages/33/d...')
       #7 {main}
        thrown
       ```
   
 * I now would love to simply reinstall the plugin to see if that helps. However,
   after uninstalling the plugin and installing it again, my old data is still in
   the plugin settings. It seems like it won’t delete all of the data.
    Any tip 
   how to fix that? The plugin folder got removed but I guess something in the db
   not. Can I delete some tables in the db manually? Or do you have any other suggestions
   for fixing the errors above?
 * Thanks in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdelete-plugin-does-not-delete-data%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Alessio Torrisi](https://wordpress.org/support/users/alessio91/)
 * (@alessio91)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16176632)
 * Hi there,
    taking a look to the error you reported seems that you used a corrupted
   version of our plugin which missed of a core file. Which is the problem with 
   plugin settings? Could you provide us more details? Thank you.
 *  Thread Starter [Tesla Light Shows](https://wordpress.org/support/users/teslalightshows/)
 * (@teslalightshows)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16176826)
 * Hey, thanks for the fast reply.
 * I don’t have particular problems with the plugin settings. What I mentioned was
   that I have added a few add-ons and after uninstalling the plugin and installing
   it again, they still have been there (the data has not been deleted)
    Right after
   the migration to the new site I had some php errors on the live website which
   I could resolve by setting a default tax rate. Now I don’t see any visible error,
   the one I’ve posted initially was send to me from wordpress directly via email.
 * > Since WordPress 5.2 there is a built-in feature that detects when a plugin 
   > or theme causes a fatal error on your site, and notifies you with this automated
   > email.
   > In this case, WordPress caught an error with one of your plugins, YITH WooCommerce
   > Product Add-ons & Extra Options.
 *  Plugin Support [Alessio Torrisi](https://wordpress.org/support/users/alessio91/)
 * (@alessio91)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16186232)
 * Hi there,
    our plugin does not cancel data when you remove the plugin, it’s something
   of expected at the moment.
 *  Thread Starter [Tesla Light Shows](https://wordpress.org/support/users/teslalightshows/)
 * (@teslalightshows)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16188546)
 * Hey,
 * Okay but anyways how to solve the error mentioned above?
 *  [Facundo A.](https://wordpress.org/support/users/aranofacundo/)
 * (@aranofacundo)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16204302)
 * Hi there,
    To be sure, do you mean removing the add-ons and blocks? If so, you
   should be able to remove them from the admin dashboard in YITH > Product Add-
   ons and Extra Options. There, you just need to hover over the block you want 
   to remove to see the trash button.
 * Let us know if you need more help.
 *  Thread Starter [Tesla Light Shows](https://wordpress.org/support/users/teslalightshows/)
 * (@teslalightshows)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16204311)
 * Hello,
 * no I mean how to solve the error I posted initially if not by reinstalling the
   plugin:
 *     ```
       WordPress version 6.1
       Active theme: Storefront Child (version 1.0)
       Current plugin: YITH WooCommerce Product Add-ons & Extra Options (version 2.15.0)
       PHP version 8.0.25
   
       Error Details
       =============
       An error of type E_ERROR was caused in line 92 of the file /homepages/33/d4296851000/htdocs/wordpress/wp-content/plugins/yith-woocommerce-product-add-ons/init.php. Error message: Uncaught Error: Failed opening required 'includes/class-yith-wapo-addon.php' (include_path='.:/usr/lib/php8.0') in /homepages/33/d4296851000/htdocs/wordpress/wp-content/plugins/yith-woocommerce-product-add-ons/init.php:92
       Stack trace:
       #0 /homepages/33/d4296851000/htdocs/wordpress/wp-includes/class-wp-hook.php(308): yith_wapo_init('')
       #1 /homepages/33/d4296851000/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
       #2 /homepages/33/d4296851000/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #3 /homepages/33/d4296851000/htdocs/wordpress/wp-settings.php(480): do_action('plugins_loaded')
       #4 /homepages/33/d4296851000/htdocs/wordpress/wp-config.php(117): require_once('/homepages/33/d...')
       #5 /homepages/33/d4296851000/htdocs/wordpress/wp-load.php(50): require_once('/homepages/33/d...')
       #6 /homepages/33/d4296851000/htdocs/wordpress/wp-login.php(12): require('/homepages/33/d...')
       #7 {main}
        thrown
       ```
   
 *  [Facundo A.](https://wordpress.org/support/users/aranofacundo/)
 * (@aranofacundo)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16213106)
 * Hi there,
    In that case, the only option is reinstalling the plugin, since the
   error is about a missing file of the plugin needed for the plugin to work correctly.
   It’s probably that the file wasn’t copy when the update was being applied.
 * We’ll remain at your disposal.
 *  Thread Starter [Tesla Light Shows](https://wordpress.org/support/users/teslalightshows/)
 * (@teslalightshows)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16214585)
 * Hello,
 * I already reinstalled the plugin and the error remains.
 *  [Iván Sosa](https://wordpress.org/support/users/ivansosa/)
 * (@ivansosa)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16227162)
 * Hi there,
 * please, confirm that you have inside wp-content/plugins/yith-woocommerce-advanced-
   product-options/includes, the file **class-yith-wapo-addon.php**
 * If not, maybe the plugin installation is failing. You could try to add the files
   via FTP.
 * Let us know, please.

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

The topic ‘Delete plugin does not delete data’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-product-add-ons/assets/icon-128x128.gif?
   rev=3142291)
 * [YITH WooCommerce Product Add-Ons](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [Iván Sosa](https://wordpress.org/support/users/ivansosa/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-does-not-delete-data/#post-16227162)
 * Status: not resolved