How To Deactivate WordPress Plugin At Server Side To Fix WordPress Website Error

Deactive wordpress plugin is very useful when your wordpress website meet access error ( can not be accessed through wordpress dashboard ) because of plguin upgrade. For example, my wordpress website has installed cloudflare plugin, and one day after i upgrade the cloudflare plugin, i got below error message when i access my website.

Fatal error: require(): Failed opening required '/home/abc/public_html/wp-content/plugins/cloudflare/vendor/composer/../myclabs/deep-copy/src/DeepCopy/deep_copy.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/abc/public_html/wp-content/plugins/cloudflare/vendor/composer/autoload_real.php

When you meet such error, do not be flustered, because the error just happened after you upgrade wordpress plugin, so the error is triggered by the plugin update also. So to fix it, you just need to follow below steps.

  1. Deactivate the wordpress plugin at server side ( because we can not access the website normally through it’s management dashboard ).
  2. Access the website through wordpress dashboard.
  3. Ask the wordpress plugin vendor to fix the error.
  4. Activate the wordpress plugin and use it.

This article will focus on how to deactivate the wordpress plugin at server side, below are steps.

  1. Use a ftp client to connect to your website’s root folder.
  2. Then go to /home/website_root_folder/public_html/wp-content/plugins folder.
  3. Find the wordpress plugin folder such as cloudflare and rename it to cloudflare_old to deactivate it.
  4. Login to your wordpress website dashboard by website_domain/wp-admin.
  5. Now you can fix the plugin error and rename the plugin folder back to activate the plugin.
  6. You can also reactivate the wordpress plugin through wordpress management dashboard.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.