How do I manual delete a Wordpress Plugin from Console?

I have a problem with WordPress and I am unable to add or delete plugins because there is a plugin causing fatal errors.

Fatal error: Uncaught Error: Class “WP_CROWDSIGNAL_FORMS\WP_CROWDSIGNAL_FORMS” not found in /var/www/html/wp-content/plugins/wp-crowdsignal-forms/crowdsignal-forms.php:43 Stack trace: #0 /var/www/html/wp-admin/includes/plugin.php(2288): include_once() #1 /var/www/html/wp-admin/plugins.php(192): plugin_sandbox_scrape() #2 {main} thrown in /var/www/html/wp-content/plugins/wp-crowdsignal-forms/crowdsignal-forms.php on line 43

I want to remove/delete it using another method, and I though if its possible to delete using the console. Could someone please help me out of this.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
May 30, 2022

Hello there,

You can use WP-CLI to delete/deactivate plugins via the console. We have an article that covers the usage of the tool which you can check here:

To activate or deactivate one or more plugins, use the wp plugin activate and wp plugin deactivate commands respectively:

  1. wp plugin activate jetpack gutenberg
  2. wp plugin deactivate jetpack Gutenberg

Or you can use the --all flag to activate or deactivate all plugins at once. This is useful if you want to debug a problem in your WordPress installation:

  1. wp plugin activate --all
  2. wp plugin deactivate --all

Hope that this helps!

Bobby Iliev
Site Moderator
Site Moderator badge
May 28, 2022


In addition to what has already been mentioned regarding using the wp CLI tool, in case that you don’t have it installed, you can actually rename the folder of that plugin to disable it:

mv /var/www/html/wp-content/plugins/wp-crowdsignal-forms /var/www/html/wp-content/plugins/wp-crowdsignal-forms-disabled

Or you can remove the plugin by using the rm command:

rm -r /var/www/html/wp-content/plugins/wp-crowdsignal-forms

Though if you have wp CLI already installed, I would recommend using it instead.



Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

So when you are logged into the server, you can locate the folder that has the plugin and rename it. Also, not sure but you can try to use wp-cli. To try this out type in the console:

wp plugin list

You should see all your plugins listed though you may have tp specify a directory where your plugins are installed like:

wp plugin list --path="/var/www/public/"

Once you find or know the plugin you want to disable use:

wp plugin deactivate INSERTPLUGINNAMEHERE