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.
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!
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.
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:
https://www.digitalocean.com/community/tutorials/how-to-use-wp-cli-v2-to-manage-your-wordpress-site-from-the-command-line
To activate or deactivate one or more plugins, use the wp plugin activate and wp plugin deactivate commands respectively:
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:Hope that this helps!
Hello,
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:Or you can remove the plugin by using the
rm
command:Though if you have
wp
CLI already installed, I would recommend using it instead.Best,
Bobby
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.
Sign up now
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:
You should see all your plugins listed though you may have tp specify a directory where your plugins are installed like:
Once you find or know the plugin you want to disable use: