How to reinstall broken WordPress plugin using wp-cli

If you cannot execute wp-cli command due to the error generated by one of your plugins


wp plugin status


Warning: include_once(/home/username/public_html/subdomains/ failed to open stream: No such file or directory in /home/username/public_html/subdomains/ on line 3


Just use –skip-plugins parameter along with –force

As result you will get:

wp plugin install woocommerce --skip-plugins --force


Similar Posts:

Leave a Reply

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