How do you deactivate all plugins through Cloudways?

[ad_1]

I am new to WordPress and wrote some bad code in a code snippet and it caused a critical error that shut down the site. Emails don't send so I can't get the recovery mail. It's a mess. I followed these instructions:

Use phpMyAdmin to deactivate all plugins.

  1. In the table wp_options, under the option_name column (field) find the active_plugins row
  2. Change the option_value field to: a:0:{}

But nothing seemed to change and I still can't get into my site. Has anyone had experience with this and what did you end up doing? Thanks in advance.

[ad_2]
2 Comments
  1. There’s no need to do that. If you’re getting a critical error, the proper way to troubleshoot that is to **enable debugging** so you can actually see the error message.

  2. Even with Cloudways you still should have access to your SFTP or not?

    Then just rename the PHP file to something like <pluginname>.php.back and it should work again.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer