True, but some Plugins and software today have some kinda of deactivation script that cleans-up everything they do when you deactivate them.
That’s why I asked. 🙂
Thanks!
BuddyPress has no deactivation script so you don’t accidentally delete your content
Our buddypress plugin main plugin was deactivated by accident and now we can no longer access any content on the website or login ad admin to reactivate it.
I am not sure what to do. We had a backup of the entire wordpress installation prior to that mistake and it was restored in full. This is from the error log:
PHP Fatal error: Call to undefined function bp_is_register_page() in /home1/tgscca1/public_html/wp-content/plugins/s2member/includes/classes/custom-reg-fields-4bp.inc.php on line 50
Likely in your s2member setup, you are integrating some BuddyPress functionality and since BP is deactivated the s2member plugin is throwing up an error. So now you are locked out of your admin.
There is a simple solution if you have access to FTP.
Just rename your ‘wp-content/plugins’ folder to ‘wp-content/_plugins’. Note the underscore.
This will instantly deactivated all plugins, as WordPress will not be able to load the plugins directory. Then you should be able to log in again. If you rename _plugins back to plugins, then your plugins will load again. So maybe rename s2member so it deactivates, then reactivate BuddyPress and then s2member after.