Experiencing a fatal error that locks you out of your WordPress admin dashboard or takes your site offline can be distressing. This guide outlines steps to help you regain access to your site (typically at /wp-admin) when PHP errors are involved.
Common Causes
- Conflicts with plugins or themes
- PHP errors in code or installations
- Errant PHP calls elsewhere in your site
Recommended Actions
Consult Your Hosting Provider
- If a PHP error caused the issue, reach out to your hosting provider for assistance in resolving it safely.
- If support is unavailable, or you’re dissatisfied, consider changing your host for better support.
Manual Fix via FTP
Use an FTP client like Filezilla to manually address the issue:
- Access Your Site Files:
- Use the FTP client or your host’s root access.
- Disable Plugins:
- Navigate to the
/wp-content/pluginsdirectory. - Rename the “plugins” folder to something else (e.g., “plugins_temp”) to disable all plugins.
- This action should allow dashboard access, though plugins will remain inaccessible.
- Navigate to the
- Re-enable Plugins:
- Rename the folder back to “plugins” to make them visible in the dashboard again, though they will be deactivated.
- Reactivate plugins individually to identify those causing conflicts.
By following these steps, you can systematically troubleshoot and resolve access issues, minimizing downtime for your website.