Title: Code Errors when deactivating the plugin
Last modified: April 8, 2020

---

# Code Errors when deactivating the plugin

 *  Resolved [michaeljb](https://wordpress.org/support/users/michaeljb/)
 * (@michaeljb)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/code-errors-when-deactivating-the-plugin/)
 * Hi there, i have just taken over the management of a site. I have a theme conflict
   somewhere and i am trying find out if its a plugin that is causing the issue.
   So i disabled all plugins to see if i could isolate which plugin it was, as soon
   as i deactivated BACKwpup, the whole site crashed. When you navigated to the 
   site I received these errors messages ( below ) luckily i was able to get back
   in the backend via a WP recovery link and enable the plugin again and the site
   came back online. Can you please let me know what the issue is and why this is
   happening as i should be able to deactivate plugins on a site without the site
   crashing. Thanks for you time
 * Fatal error: Uncaught Error: Class ‘BackWPup_Admin’ not found in /home/ifmatoro/
   public_html/wp-content/themes/ifma/includes/profile-clean-up.php:43 Stack trace:#
   0 /home/ifmatoro/public_html/wp-content/themes/ifma/functions.php(256): include()#
   1 /home/ifmatoro/public_html/wp-settings.php(497): include(‘/home/ifmatoro/…’)#
   2 /home/ifmatoro/public_html/wp-config.php(90): require_once(‘/home/ifmatoro/…’)#
   3 /home/ifmatoro/public_html/wp-load.php(37): require_once(‘/home/ifmatoro/…’)#
   4 /home/ifmatoro/public_html/wp-blog-header.php(13): require_once(‘/home/ifmatoro/…’)#
   5 /home/ifmatoro/public_html/index.php(17): require(‘/home/ifmatoro/…’) #6 {main}
   thrown in /home/ifmatoro/public_html/wp-content/themes/ifma/includes/profile-
   clean-up.php on line 43
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-errors-when-deactivating-the-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/code-errors-when-deactivating-the-plugin/#post-12650660)
 * [@michaeljb](https://wordpress.org/support/users/michaeljb/)
    hmm can you just
   remove the BackWPUp plugin then install it again, look like there is missing 
   files in there?
 *  Thread Starter [michaeljb](https://wordpress.org/support/users/michaeljb/)
 * (@michaeljb)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/code-errors-when-deactivating-the-plugin/#post-12650850)
 * i can’t as when you deactivate the plugin the site crashes and the above error
   displays when you type the url in or try to load the backend.
 * When this happened the first time, the plugin was deleted from the c\panel file
   manager and i was able to login to the backend from the WP recovery link, I installed
   the app again from there and the site came back up.. So i have actually installed
   it again and it still makes no difference.
 * Is there anyway to ftp the missing files to the appropriate plugin folders which
   would fix this? or any other ideas please?
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/code-errors-when-deactivating-the-plugin/#post-12656387)
 * [@michaeljb](https://wordpress.org/support/users/michaeljb/)
    hmm so can you 
   just temporary switch to a default WordPress theme, I saw there is an error caused
   by your current theme: `Fatal error: Uncaught Error: Class ‘BackWPup_Admin’ not
   found in /home/ifmatoro/public_html/wp-content/themes/ifma/includes/profile-clean-
   up.php:43`
 *  [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * (@duongcuong96)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/code-errors-when-deactivating-the-plugin/#post-12689207)
 * [@michaeljb](https://wordpress.org/support/users/michaeljb/)
 * since we haven’t heard back from you, I’m going to mark it as resolved.
    If you’re
   still having problems, feel free to let us know ;),
 * Btw, If you find BackWPUp is useful for you, we would really appreciate. if you
   leave a positive review and rating.
    This would encourage us to develop new free
   features and provide free support 😀 [https://wordpress.org/support/plugin/backwpup/reviews/](https://wordpress.org/support/plugin/backwpup/reviews/)

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

The topic ‘Code Errors when deactivating the plugin’ is closed to new replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [happyAnt](https://wordpress.org/support/users/duongcuong96/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/code-errors-when-deactivating-the-plugin/#post-12689207)
 * Status: resolved