WPIntell

Source evidence

No longer PHP 5.6 compatible

Core Rollback · support · 2026-03-29T00:13:00+00:00

mixedsentiment
highseverity
0.94relevance
8replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 21 rows with source links

19.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

17 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Kev Provance resolved
FYI: The description says this plugin supports PHP 5.6. Since it uses PHP 7.0 specific code, that is no longer true. Any version of PHP below 7.0 will generate a critical error. What is the error you see? PHP Parse error: syntax error, unexpected ‘?’ in /var/www/html/wp-content/plugins/core-rollback/src/Core.php on line 56 Line 56 being: $offers = $body -> offers ?? []; The null coalescing operator requires PHP 7.0 or higher. Ah, null coalescing. I’ll have to change that. Thanks for letting me know. Also know that WP now requires PHP 7.4 or so. I may just change the requirements. This reply was modified 2 months ago by Andy Fragen . I believe you can run WordPress 4.7 on PHP 7 so not sure it’s worth changing the code, more so changing the requirements. https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/ It’s not all that critical. My employer needed me to test something with PHP 5.6 and WP 6.0. The plugin allowed me to do that quicker than manually installing older WP versions. It was actually quicker to modify the rollback code to make it work. It was only two lines that had the null coalescing operator. if you’re testing enough on PHP 5.6 I can fix it. No real reason for the null coalescing except that I did it inadvertently. Fixed by removing null coalescing in v1.4.2

Comments

8 shown
Andy Fragen 2026-03-29T00:14:00+00:00

What is the error you see?

Kev Provance 2026-03-29T00:18:00+00:00

PHP Parse error: syntax error, unexpected ‘?’ in /var/www/html/wp-content/plugins/core-rollback/src/Core.php on line 56 Line 56 being: $offers = $body -> offers ?? []; The null coalescing operator requires PHP 7.0 or higher.

Andy Fragen 2026-03-29T00:19:00+00:00

Ah, null coalescing. I’ll have to change that. Thanks for letting me know. Also know that WP now requires PHP 7.4 or so. I may just change the requirements. This reply was modified 2 months ago by Andy Fragen .

Andy Fragen 2026-03-29T00:54:00+00:00

I believe you can run WordPress 4.7 on PHP 7 so not sure it’s worth changing the code, more so changing the requirements.

Andy Fragen 2026-03-29T00:56:00+00:00

https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

Kev Provance 2026-03-29T00:58:00+00:00

It’s not all that critical. My employer needed me to test something with PHP 5.6 and WP 6.0. The plugin allowed me to do that quicker than manually installing older WP versions. It was actually quicker to modify the rollback code to make it work. It was only two lines that had the null coalescing operator.

Andy Fragen 2026-03-29T02:09:00+00:00

if you’re testing enough on PHP 5.6 I can fix it. No real reason for the null coalescing except that I did it inadvertently.

Andy Fragen 2026-03-29T18:32:00+00:00

Fixed by removing null coalescing in v1.4.2