WordPress · critical error
WordPress critical error: what to check without making the outage worse.
The critical error message protects users from seeing technical details, but it doesn’t identify the cause. You need the time of the event, the URL, the scope and the first fatal error from a safely stored log.
Next step
Record the exact time, the URL, the latest change and the content of the message sent to the administrator. Don’t paste logs with full paths, tokens or user data publicly.
01
What the message means
WordPress catches certain PHP errors and shows a generic message. The cause may be core, a plugin, the theme, custom code, memory, PHP or a file loaded before WordPress has fully started.
02
Recovery Mode
If the system sent a Recovery Mode link, use it from a trusted device and verify the domain. The mode can temporarily pause a faulty component for the logged-in session, but it isn’t a final fix.
03
The first error in the log
Look for the entry matching the time and the request. Later warnings or errors may be consequences of the first fatal error; keep the stack trace and versions, but remove secrets before sharing.
04
A plugin, the theme or custom code
The file path hints at the area, but not always at the culprit. A conflict may only show up with a particular combination of versions, so confirm the hypothesis on a copy and change one element at a time.
05
More memory isn’t always the answer
An out-of-memory message may stem from a loop, a heavy query or a cascade of data loading. Simply raising the limit may only postpone the moment of failure.
06
Restoring operation
If availability is critical, use a verified rollback or a minimal fix. Don’t overwrite production with random packages, and don’t remove a component together with data you need.
07
Regression testing
Check the front end, the admin panel, editing, forms, email, cron, the REST API, cache and integrations. Watch the logs after the fix, because some errors only appear during a scheduled task or on a rare path.
Related materials and sources
Is a critical error blocking the site or the admin panel?
Send a safe description of the symptom and the latest change. We’ll identify the log sources, how to reproduce it and the smallest fix.
Only 3 required fields · reply within 1 business day · no obligation
