IT Toolbox
Menu
HomeWordPress displays « A critical error occurred »
Troubleshooting

WordPress displays « A critical error occurred »

WordPress encounters a fatal PHP error and can no longer normally display a page or l, administration

TopicIT troubleshooting → About 1 min read

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.

  1. View WordPress Recovery email — WordPress can indicate the component in question.
  2. Enable debug logs in a controlled manner — Record errors without showing them publicly.
  3. Disable suspicious plugin — Rename his folder if wp-admin is inaccessible.
  4. 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
Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI

My favorites