If the public site or wp-admin fails after a plugin/theme change, use the least destructive path to regain access.
- Check for a WordPress Recovery Mode email and use that path first when available.
- Review debug/error logs for the component causing the fatal error.
- If plugins are suspected and wp-admin cannot load, rename the
wp-content/pluginsdirectory through File Manager and visit/wp-admin/plugins.phpwhile the folder remains renamed so WordPress records the plugins as deactivated. Then restore the directory name and reactivate plugins individually. - If the active theme is implicated, switch to a known-good theme when possible.
- Do not reset the database or reinstall WordPress before identifying whether the failure is simply a plugin/theme fatal error.
Preserve a backup before making filesystem or database changes.
Documentation for this guidance: wordpress.org — faq troubleshooting.