WordPress encounters a fatal PHP error and can no longer normally display a page or the administration.
Probable causes
- Plugin incompatible
- Defective theme
- PHP version incompatible
- Insufficient PHP memory
- Custom code error
Verifications.
- View WordPress Recovery email — WordPress can indicate the component in question.
- Enable debug logs in a controlled manner — Record errors without showing them publicly.
- Disable suspicious plugin — Rename his folder if wp-admin is inaccessible.
- Check PHP version — Compare with the prerequisites of the theme and plugins.
Solutions…
- Update or replace the wrong component
- Return to compatible version from backup
- Correct the custom code concerned