Skip to main contentমূল বিষয়বস্তুতে যান

WordPress

There has been a critical error on this website

WordPress displays ‘There has been a critical error on this website’ when a fatal error interrupts a request. A plugin, theme or PHP change can trigger it. Check the administrator email for error details and note which pages fail. Avoid changing several components at once on a production site.

Common error messages
There has been a critical error on this website.
PHP Fatal error
Check the symptoms
MD Mahe Alam Leon, Founder & Lead Engineer, Hostaccent

Technical support led by MD Mahe Alam LeonFounder & Lead Engineer, Hostaccent · 15 years of hands-on server and hosting work · Content checked

About Hostaccent

Are you seeing this?

  • Visitors see the critical error on the whole site or on one page, such as checkout.
  • wp-admin fails while some public pages still load from cache.
  • The administrator receives a recovery email close to the time of the failure.

What usually causes it?

  1. A plugin or theme fails at runtime

    An update, incompatible extension or custom code can cause a fatal error when WordPress loads the affected feature.

  2. The PHP environment changed

    A new PHP version or missing extension can break code that worked under the previous runtime.

  3. The request exceeds PHP’s memory limit

    The log may show a memory exhaustion error. This is a per-request limit and needs different evidence from a server-wide OOM kill.

  4. Files are incomplete after a deployment

    A partial update or missing dependency can stop WordPress when it tries to load the affected code.

Safe checks you can do yourself

  • Read the WordPress recovery email

    Record any named component, file or error it identifies. Keep any recovery link private.

  • Read existing PHP error logs

    Look for the first fatal entry at the time of failure. Share a redacted excerpt and the affected path rather than posting a complete log.

  • List what changed and what fails

    Note recent plugin, theme or PHP updates. Record whether the homepage, login, editor and checkout are affected without changing any settings.

When to stop and get an expert

  • A live store can no longer take orders or the error follows a payment attempt.
  • You cannot reach wp-admin and the next step would modify files or switch the live PHP version.
  • Several changes happened at once, or the only available restore could overwrite newer content.
Get Expert Help

How we fix it

  1. Read the fatal error and preserve the current state

    After written authorisation, we match the first failure to the affected code, confirm the runtime and verify a recovery point.

  2. Isolate the change

    Where feasible, we compare behaviour in staging. We agree a scoped repair and rollback plan before changing production.

  3. Verify the affected journeys

    We recheck the failing URL, administration screens and any agreed store paths, then review logs for repeat failures.

Fixed-price diagnostic

From US$49

We confirm the exact diagnostic fee for one defined issue before you approve it. You receive written findings and a proposed next step. Any repair is quoted and approved separately. There are no automatic charges or hidden fees.

What you receive
Written findings on the failing component or runtime, the repair options and the checks used to verify recovery.
Turnaround
We confirm the diagnostic window after reviewing the error and access. Repair time depends on whether the failing component can be corrected or needs a replacement.

Frequently asked questions

Is the WordPress critical error always a plugin issue?

Plugins are one possible cause. A theme, custom code, an incompatible PHP version or incomplete files can also produce a fatal error. The first relevant log entry is the best starting point.

Why does the error only show in wp-admin?

Some code runs only in admin requests. The public homepage may also be served from cache while admin requests still reach WordPress.

What if the recovery email never arrived?

Check the administrator mailbox and spam folder. An existing host-side PHP log can provide the fatal error even when email delivery fails.

Can a PHP update cause the critical error?

Yes. Code or extensions that worked under the old PHP version may fail on the new runtime. Match the first fatal error to the update time.

Is ‘Allowed memory size exhausted’ the same as a server OOM kill?

That PHP message identifies a per-request memory limit. A server OOM kill is recorded by the operating system or container when memory pressure causes it to terminate a process.

Technical references

Request a diagnostic

Tell us what you saw, when it started and what was affected. An error excerpt with sensitive details removed is enough to start.

Get Expert Help