If you think the site has been hacked – unknown administrators, spam pages in Google or redirects to strange sites – go straight to the hacked WordPress checklist. This page is about everyday faults that are not an attack.
The errors on one page
Common WordPress errors and first steps
| What you see | Usual cause | First step |
|---|---|---|
| “There has been a critical error” or a white screen | A plugin or theme that does not fit the WordPress or PHP version | Check the admin e-mail, turn on the error log, deactivate the latest plugin |
| A maintenance notice that will not go away | An update was interrupted | Delete the .maintenance file in the site root |
| Error establishing a database connection | Wrong name, user, password or host in wp-config.php, or the database is down | Check the four values and ask the host |
| Home page works, every other page gives 404 | Rewrite rules missing after a move | Save permalinks again or run wp rewrite flush |
| 500 Internal Server Error | A corrupted .htaccess | Rename the file and save permalinks again |
| Allowed memory size exhausted | The limit is too low for the plugins | Raise it in wp-config.php – and find the plugin that eats it |
| The contact form does not send | The server’s mail is broken, or mail lands in spam | SMTP with SPF, DKIM and DMARC – and store enquiries in the database |
| Parts of the site appear in English | Translation files are missing | Fetch language packs; plugins from outside the directory must ship their own |
| Changes do not show | The cache is not being cleared | Clear the server cache, not just the browser’s |
WordPress’s error guide covers many more, but these nine are the ones we meet again and again.
“There has been a critical error” and the white screen
Since WordPress gained its recovery mode, a site hit by a fatal PHP error shows a short notice instead of a blank page, and the administrator gets an e-mail with a link to log in and disable the culprit. That e-mail is the first place to look. If it never arrives, it is often because the site’s mail is broken as well – see below.
Otherwise we switch on the error log for a moment. WordPress then writes every error to wp-content/debug.log; leaving that on for a live site is not recommended, so we switch it off afterwards.
# Turn on the error log – without showing errors to visitors
wp config set WP_DEBUG true --raw
wp config set WP_DEBUG_LOG true --raw
wp config set WP_DEBUG_DISPLAY false --raw
# Watch the latest errors while you reload the page
tail -n 50 wp-content/debug.log
# If the log points to a plugin, disable it without loading the others
wp plugin deactivate some-plugin --skip-plugins
# Remember to turn the log off again
wp config set WP_DEBUG false --raw
wp config set WP_DEBUG_LOG false --raw
Without command-line access, rename the plugin’s folder under wp-content/plugins in the host’s file manager. WordPress then cannot load it.
An update went wrong
This happens most with payment, shipping and form plugins, because they depend on other systems. The fastest way back is the previous version of exactly that plugin. Then we read the changelog and test on a copy before trying again.
# Which version runs now, and what is the latest?
wp plugin list --fields=name,version,update_version,tested_up_to
# Back to the previous version of one plugin
wp plugin install some-plugin --version=1.2.3 --force
How to avoid it from the start, with staging and an update script, is on the page about updates and backups.
The contact form does not send
This is the most expensive fault, because nobody notices it. On one server PHP’s mail() stopped working without any error message, and on another site wp_mail() had been broken without anyone noticing. The fix is always the same: the form stores the enquiry in the database first, and mail goes through SMTP with SPF, DKIM and DMARC. Our own product, Lynbro SMTP Mailer, does the second part and is free on wordpress.org.
If the form works for some visitors and not for others, suspect the page cache. When a page with a form sits in the cache for a long time, its HTML must not contain a one-time token (nonce) that expires after a day. The form must be validated on the server instead.
The site shows English although it is set to Danish
WordPress downloads Danish language packs for core and for directory plugins. A plugin installed from a ZIP file outside wordpress.org must ship its own .mo files, or WordPress silently falls back to English. We first saw it on a Danish bathroom-renovation company’s website, where we had replaced 13 of 16 plugins with our own.
# Fetch and update Danish language packs for core, plugins and themes
wp language core update
wp language plugin install --all da_DK
wp language theme install --all da_DK
Changes do not show
If only you see the old page, it is your browser’s cache. If everyone does, it is the server’s. On one of our own sites a popular caching plugin had never cleared the cache, because the server’s open_basedir setting blocked it – without a single error message. Our own product, Lynbro Cache, purges through a dedicated address, and its browser caching never touches HTML or the service worker. Speed and caching are covered in detail on the speed page.
The cookie banner: the “Reject” button is gone
We have seen a theme recolour the Reject button until it was invisible. It looks like a design detail, but Reject has to be as visible as Accept. On our sites both buttons now share the same colour. Check it after every theme change.
Multisite: a plugin only works on the main site
When we network-activated a cookie plugin on our own multisite network, its tables were not created on the subsites. Many plugins create their tables on activation on the main site and forget the rest. Deactivate and reactivate the plugin on the subsite, or ask the vendor whether it supports multisite.
How our support works
- You tell us what is wrong through the form at the bottom, with the site address and ideally a screenshot.
- You get a written answer with the cause, what we will do and a fixed price. No meter running.
- We fix on a copy first where possible and log what we changed.
- With a care plan, fixing problems after updates is included.
We are an independent specialist, not WordPress’s official support. That exists for free in the wordpress.org forums, where volunteers answer.
Website care plan
We keep your WordPress site updated, secure and online.
249 DKK excl. VAT per month
- WordPress, theme and plugin updates with testing and rollback
- Daily backup, uptime monitoring and malware scan
- Clean-up after a hack included
- No commitment beyond 3 months
Developer per hour
Integrations, WordPress/WooCommerce, apps, data and AI — billed per hour.
549 DKK excl. VAT per hour
- Development and testing by an experienced developer
- A written estimate and cap before we start
- Billed per started quarter hour
Offsite backup of a server or website
A copy outside your server, so a hack or crash doesn’t take the data with it.
149 DKK excl. VAT per month
- Daily encrypted backup to EU storage, up to 100 GB
- 30 days of history (3-2-1 rule)
- Test restore every quarter with a report
Questions about WordPress errors
Why do I get “There has been a critical error” after an update?
Almost always because a plugin or theme does not fit the new WordPress or PHP version. Check the admin e-mail, or turn on the error log and deactivate the plugin it points to.
How do I get rid of the scheduled-maintenance notice?
Delete the .maintenance file in the site root. It is left behind when an update is interrupted. Then check that the update actually finished.
Is it dangerous to turn on WP_DEBUG?
Not if errors are only written to the log and not shown on the page. Switch it off once you have found the fault, and delete the log so it cannot be read from outside.
Can you help even though someone else built the site?
Yes. We start with logins, a backup and a list of plugins. Then you get a written answer and a fixed price.
Sources
- WordPress – Common WordPress Errors — causes and first steps, checked 01.12.2026
- WordPress – Debugging in WordPress — WP_DEBUG, WP_DEBUG_LOG and WP_DEBUG_DISPLAY, checked 01.12.2026
- Datatilsynet and Digitaliseringsstyrelsen – use of cookies (May 2025) — Reject as visible as Accept
- WP-CLI – commands — config set, plugin, language, rewrite
Fixed price, no commitment
Get a free WordPress check
Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.
- A fixed price before we start
- An answer by e-mail, no calls
- Your details are used only to answer you