Skip to content

Websites & Ecommerce12 min read

WordPress database update required? PHP and plugin errors explained

A database update notice and a PHP compatibility warning look alike but have different causes and fixes. Here is what each one means, why plugins like Contact Form 7 now need PHP 8.3, and how to update safely.

WordPress update issues guide: database update, PHP 8.3 requirement and critical error, each with a different fix
Written by
Melissa Cross
Published
Updated

You log in to WordPress and something wants your attention. One screen shows a WordPress database update required message and won't let you into the dashboard. A plugin will not update because of your PHP version. Or the site shows a critical error after someone changed a setting at the host. They look like one problem. They are three.

We look after WordPress sites for UK businesses, and the most common mistake we see is fixing the wrong one: clicking through a database update when the real issue is PHP, or upgrading PHP before checking the plugins that will run on it.

Quick answer: A database update means new WordPress or WooCommerce files need to bring your database in line, and it is usually safe after a backup. A PHP compatibility warning means a plugin needs a newer PHP version than your server runs, and the fix happens at your host, not inside WordPress. Errors after a PHP upgrade come from old code the new PHP no longer accepts. Back up, test on a staging copy, and change one thing at a time.

WordPress Database Update Required screen beside a plugin that needs PHP 8.3 on a PHP 8.2 server

Why WordPress update issues are more common in 2026

  • 55.6% of WordPress sites run PHP older than 8.3, worked out from WordPress.org's own PHP version statistics (checked 3 November 2026).
  • WordPress recommends PHP 8.3 or greater on its requirements page (updated May 2026). It still runs on PHP 7.4, but warns that older versions have reached end of life.
  • PHP 8.1 reached end of life on 31 December 2025, and PHP 8.2 stops receiving security fixes on 31 December 2026, according to PHP's supported versions page.
  • Contact Form 7, active on more than 10 million sites, now requires PHP 8.3 or higher, according to its WordPress.org listing (checked 24 November 2026).

Put those together and more than half of WordPress sites cannot install the latest version of one of the most widely used plugins without changing PHP first.

PHP versions used by WordPress sites by support status: 55.6% run a version older than PHP 8.3
PHP version Security fixes Share of WordPress sites
Older than 7.4 Ended 5.4%
7.4 Ended 28 November 2022 14.7%
8.0 Ended 26 November 2023 3.4%
8.1 Ended 31 December 2025 9.3%
8.2 Until 31 December 2026 22.8%
8.3 Until 31 December 2027 27.7%
8.4 Until 31 December 2028 10.5%
8.5 Until 31 December 2029 6.2%

WordPress database update required: why does it appear?

WordPress stores a version number for its database structure, called db_version. When new WordPress files arrive with a higher number, the two no longer match, and WordPress shows a screen titled "Database Update Required" with an "Update WordPress Database" button. Once it finishes, you see "Update Complete".

Five steps of a WordPress database update, from new files to Update Complete

This is normal. Major releases sometimes change how data is stored, and the database update applies those changes once rather than on every page load. WooCommerce works the same way. Its update guide says some updates need a database update after the plugin files update, and lets you watch progress under Scheduled Actions.

In practice: take a backup, click the button once, and leave the tab open until it finishes.

What if the database update keeps looping or hangs?

On a single site you cannot really skip it. WordPress's admin code sends dashboard visits to the upgrade screen until the stored version matches, so the screen keeps coming back. On a multisite network the update runs in the background instead.

If the screen comes back after "Update Complete", or the update never finishes, work through these in order:

  • Clear every cache. A persistent object cache, such as Redis or Memcached, can keep serving the old database version, so WordPress thinks the update has not run. Flush it, along with your caching plugin and any cache at your host.
  • Read the error log. A hang usually means the update hit a time or memory limit part way through. The error log at your host names the cause.
  • Fix the cause, then run it once more. Do not keep pressing the button. If the site misbehaves after the second run, restore the backup you took first.

WooCommerce is different, because a shop keeps trading while its notice sits there. WooCommerce's guidance is to finish the database update before carrying on testing. In our experience, new code running against an old data structure is where odd order and reporting problems start.

Why do WordPress plugins require a newer PHP version?

PHP is the programming language WordPress runs on, and each version is supported for a fixed period. Once a version stops getting security fixes, plugin developers stop testing against it and start using features only newer versions have.

Every plugin on WordPress.org declares a minimum PHP version. Since WordPress 5.2, WordPress checks that against your server and will not activate a plugin that needs a newer PHP than you run. In our experience, updates that need newer PHP are held back too, with a note that the update does not work with your PHP version. The plugin keeps working on its old version, but it stops getting fixes, including security fixes.

Why is Contact Form 7 asking for a PHP upgrade?

Contact Form 7's listing shows "Requires PHP: 8.3 or higher" and "Requires WordPress: 7.1 or higher". That is the PHP version WordPress itself now recommends, so the plugin is following WordPress rather than going its own way.

Contact Form 7 requires PHP 8.3 or higher, so a site on PHP 8.2 has its update held back

If your host runs PHP 8.2 or older, Contact Form 7 updates will be held back. The plugin does not stop working that day. But an out-of-date form plugin is a real risk, because forms accept input from anyone on the internet.

Do not edit the plugin's files or force the update. Move the site to PHP 8.3 or newer, after testing.

Can a PHP upgrade break WordPress plugins and themes?

Yes, which is why it should never be the first thing you change. Each PHP version removes or tightens older features, and code written years ago can stop with a fatal error on the new version. Abandoned plugins and heavily customised themes are the usual culprits.

WordPress has a safety net. Since 5.2, when a plugin or theme causes a fatal error, WordPress emails the site's admin address a recovery mode link that pauses the faulty code so you can log in. Visitors still see the broken site until it is fixed, so treat recovery mode as a way back in, not a fix.

Database update PHP compatibility warning Error after PHP upgrade
Cause New files, older database structure Plugin needs newer PHP than the server Old code the new PHP rejects
Where to fix it WordPress dashboard Hosting control panel Plugin, theme or custom code
Risk if ignored Admin blocked, or shop data out of step No more security fixes Site down for visitors
Safe first step Backup, then click once Test the new PHP on staging Recovery mode, then roll back

How to check WordPress plugin and theme PHP compatibility

1. Find your PHP version. It is under Tools, Site Health, Info, Server. Done when you know the exact version.

2. List every active plugin and theme. Note each one's "Requires PHP" value and last update date. Done when nothing on the list is a guess.

3. Flag the risky ones. Anything not updated for a year, or with no stated PHP support. Done when you have a short list to test first.

4. Copy the site to staging and switch PHP there. Done when staging runs the version you want live.

5. Click through the journeys that earn money. Forms, checkout, logins, search, booking. Done when each one works.

6. Read the error log. Deprecation warnings are a to-do list. Fatal errors are blockers. Done when there are no fatal errors.

How to update PHP safely without breaking your website

Seven steps for a safe PHP upgrade: backup, update, database, staging, go live, held-back plugins, monitor

1. Back up files and database, and check the backup restores, as WordPress's own update guidance advises.

2. Update WordPress, plugins and themes on your current PHP first.

3. Run any database updates WordPress or WooCommerce asks for.

4. Switch PHP on staging, then fix or replace anything that breaks.

5. Switch PHP on the live site at a quiet time, in your host's control panel.

6. Update the plugins that were held back, such as Contact Form 7.

7. Watch the error log and test forms and checkout for a few days.

Change one thing at a time. If two things change together and the site breaks, you will not know which one did it.

Other common WordPress update errors and quick fixes

Not every update problem comes down to the database or PHP. These five come up often, and most take minutes to fix once you know where to look. Take a backup before you change any files or the database.

Stuck on "Briefly unavailable for scheduled maintenance". WordPress adds a file called .maintenance to your site's main folder while it updates, then deletes it at the end. If the update stops part way, the file stays and visitors keep seeing the message. Delete .maintenance in your host's file manager or over FTP, then run the update again.

"Another update is currently in progress". WordPress locks updates while a core update runs, and the lock lasts up to 15 minutes. Wait 15 minutes first. If the message stays, the lock is a row called core_updater.lock in the wp_options table. Delete that row in phpMyAdmin, or ask your host to do it.

"Download failed", "Could not create directory" or a request for FTP details. WordPress cannot write to its own files, which usually means the file owner or permissions are wrong. WordPress's own handbook uses 755 for folders and 644 for files as the normal setting. Ask your host to fix the ownership. Never set everything to 777.

"Allowed memory size exhausted". The update ran out of memory. Ask your host to raise PHP's memory limit, or raise WordPress's own limit with WP_MEMORY_LIMIT in wp-config.php if the server allows it. Then try the update again.

A white screen or critical error, and no recovery email. Recovery mode only helps if the email arrives. If it does not, open your host's file manager or FTP and rename the wp-content/plugins folder to plugins-off. That switches every plugin off, so you can log in. Rename the folder back, then turn plugins on one at a time until the error returns. If the theme is the cause, rename the active theme's folder and WordPress falls back to a default theme, as long as one is installed.

If none of these fit, restore the backup you took before the update and find the cause on a staging copy.

WordPress update best practices to avoid website errors

  • Remove what you do not use. Every inactive plugin is one more thing to keep compatible.
  • Avoid Friday afternoons. Update when someone can watch the site for the next few hours.
  • Keep a short update log. Date, what changed, what you tested. It turns a two-hour hunt into a two-minute one.
  • Do not let PHP drift. Moving one version a year is far easier than jumping three at once.

If that list feels like a part-time job, it is the work a maintenance plan exists to cover.

UK rules: security, personal data and supported software

  • UK GDPR expects up-to-date security. The ICO's security guidance says you must use appropriate technical and organisational measures, and check periodically that they stay appropriate and up to date. A contact form collects personal data, so its plugin is part of that.
  • Cyber Essentials expects supported software. The NCSC's April 2026 requirements say software in scope must be supported, removed when it becomes unsupported, and patched within 14 days for critical or high-risk fixes. If your web server is in scope, end-of-life PHP is a finding.
  • Breaches have a deadline. If an outdated plugin leads to a personal data breach that risks people's rights, it must be reported to the ICO within 72 hours of you becoming aware of it.
  • Keep the paper trail. Your update log doubles as evidence that you take security seriously.

Frequently asked questions

Is it safe to click "Update WordPress Database"?

Yes, in almost every case, as long as you have a recent backup. It is a normal part of a WordPress or WooCommerce update. Click once, wait for "Update Complete", and do not close the tab while it runs. On large shops it can take a while.

Why can't I update a plugin in WordPress?

The most common reason is that the new version needs a newer PHP version than your server runs. WordPress holds the update back rather than install something that could break your site. Check the plugin's "Requires PHP" value against your PHP version in Site Health.

What PHP version should my WordPress site use?

WordPress recommends PHP 8.3 or greater. PHP 8.3 receives security fixes until 31 December 2027 and PHP 8.4 until 31 December 2028. Anything older than 8.2 no longer gets security fixes, and 8.2 stops at the end of 2026.

Will updating PHP break my website?

It can, if a plugin, theme or piece of custom code relies on something the new version removed. That is why you test on a staging copy first. Most well-maintained plugins handle new PHP versions without trouble. Abandoned ones are the risk.

Is a database update the same as a PHP upgrade?

No. A database update happens inside WordPress after new WordPress or plugin files arrive. A PHP upgrade changes the language your server runs, and is done at your host. They can happen in the same week, but they are separate jobs.

Need a hand with WordPress updates?

We keep WordPress and WooCommerce sites for UK businesses updated, tested and backed up, PHP upgrades included.

Written by
Melissa Cross
Published
Updated

Share this article

Turn useful ideas into a practical growth plan.

  1. 1Pick a time
  2. 2Your details
When suits you?

These are UK times. We'll confirm by email, or suggest another if it's taken.

Day

Time