Menu

How to check if your WordPress plugins will break on PHP 8.4 (before your host upgrades you)
📰

How to check if your WordPress plugins will break on PHP 8.4 (before your host upgrades you)

DEV Community: php·Nico Salinas·about 3 hours ago
#nSEyNDsu
#devto#dev#code#plugin#upgravo
Long article (525 words) — no AI summary yet.
Reading 0:00
15s threshold

Hosting companies keep retiring old PHP versions. When yours moves a site from 7.4 or 8.1 to 8.3 or 8.4, the question is always the same: which plugin is going to take the site down?

You can find out before the switch. This is the short version of how.

The tool most people find first is abandoned

The plugin most people install for this, WP Engine's PHP Compatibility Checker , has carried a "no longer actively maintained" notice on WordPress.org since 2023. It only checks code up to PHP 8.0 and was last tested with WordPress 6.4.

So a plugin that breaks on PHP 8.2 or 8.4 can come out of it looking clean. That is worse than having no tool at all.

What a useful scan has to tell you

Breaks vs. deprecations. A removed function stops the site with a fatal error. A deprecation only writes a line in the error log and keeps running. A report with 400 mixed findings is noise; you need to know which lines are fatal on the version you are moving to.

No false alarms for guarded code.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.