Deactivate all plugins and save the active list
wordpress white screen of death | disable all plugins without admin access | wordpress 500 error plugins | find plugin conflict | wp-cli | plugins | troubleshootingCaution: This command changes the system. Understand what it does before you run it.
wp plugin list --status=active --field=name --path=/var/www/vhosts/example.com/httpdocs > /var/www/vhosts/example.com/active-plugins.txt && wp plugin deactivate --all --path=/var/www/vhosts/example.com/httpdocsWrites the names of all active plugins to a text file and then deactivates every plugin. This shows whether a plugin is causing an error. Afterwards, reactivate plugins one at a time until the error returns.
Note: Reactivate all saved plugins at once with wp plugin activate $(cat active-plugins.txt). Must-use plugins are not deactivated.
Also searched as
- wordpress white screen of death
- disable all plugins without admin access
- wordpress 500 error plugins
- find plugin conflict