PHP checker on Jet Pack 13.9.1, WP 6.6.2 comes up with Response status: failed
As this scan is recommended for coming upgrade to WP 6.7 the failure is concerning. How to understand it?
For the foreseeable future, WP Engine teams cannot log in to www.ads-software.com.
Where plugin updates are made available by WP Engine directly, plugins owned by WP Engine may be updated using guidance shared on their related web pages.
]]>Hi,
When I start scanning on Php Compatibility Checker
, it displays below error. My current php version is 8.1. How can scan the plugins for php compatibility?
Message: The audit of this code was interrupted, please scan again.
]]>
Hello,
I was trying to find out if our premium theme (ca. 4 years old) is PHP8 compatible. Your plugin says
Response status: 404
Message: The audit requested does not exist.
I don’t understand what to do now. Is there any possibility to scan this theme?
Other people appear to have the same problem:
https://www.ads-software.com/support/topic/the-404-message-for-premium-plugins-should-be-improved/
Thanks ??
]]>Hi all,
I have a curiosity: why the php compatibility checker analyzes the style.css?
Am I doing something wrong? I run the plugin in my website + child theme, and it reports an error in a file: after study I understood that it refers to my style.css, clear to understand because it is the sole file starting with the sentence reported
“… website 1.1.15 (240313) (fonts adjustment)”,
Scan status: 400
Request has validation errors
The audit project version must contain only numbers and periods, plus begins and ends with a number.”
??
]]>Hi,
Will this be updated to check compatibility for PHP 8.1? Or ideally, 8.2 & 8.3.
Or is there an alternative plugin that’s available for this?
Many Thanks,
Andy
]]>I had some other customized plugins have this response. What does this mean?
Advanced Database Cleaner PRO 3.2.3
Response status: 404
Message: The audit requested does not exist.
]]>Hello,
Can you please fix the following PHP warnings:PHP Warning: Undefined array key "plugins" in /php-compatibility-checker/wpengine-phpcompat.php on line 170
PHP Warning: foreach() argument must be of type array|object, null given in /php-compatibility-checker/wpengine-phpcompat.php on line 170
Creation of dynamic property WPEngine_PHPCompat\PHP_Compatibility_Checker::$page is deprecated+
PHP 8.2.12
Plugin version: Version: 1.6.3
]]>Hi,
when i start the scan this message apperars and the scan stops.
Advanced Custom Fields PRO 6.2.4
Response status: 404
Message: The audit requested does not exist.
WordPress Version: 6.4.1
PHP: 8.2.12
]]>Hi,
i get this deprecated Warning. PHP Version 8.2.12
Creation of dynamic property WPEngine_PHPCompat\PHP_Compatibility_Checker::$page is deprecated+
I receive the message “Response status: 404 Message: The audit requested does not exist.” from a user of my premium plugin. He thinks that there might be problems with PHP compatibility. Neither he nor I can really understand this message and have to read here in this forum what it means.
As long as no premium plugins can be scanned, it makes no sense to list them with a red warning color and a unintelligible error message.
I would suggest that they are displayed as “Skipped” and with a matching color, e.g. gray. Preferably with a note as to why they were skipped.
This would make life a little easier for premium plugin developers whose users use this plugin. ??
]]>Thank you for the great plugin it gave me the piece of mind to finally update from php 7.4 to 8.0.
I figured I’d let you guys know it flagged two of my plugins as incompatible so I disabled them when I updated. Afterward I activated both of them and everything worked perfectly. It actually missed one that had a nonfatal error as well. The 2 false positives were:
The one that threw a minor error but still worked was:
Page scroll to id is aware of the problem and they say it will be fixed in the next update to their plugin (to version 1.7.8). If you need anything else just let me know.
]]>PHP Compatibility Checker is getting stuck on the first plugin (AddToAny Share Buttons), showing this message in that plugin’s box: “Response status: failed. Message: The audit of this code was interrupted, please scan again.”
It doesn’t seem to move on from that, as next to the spinner it shows “Now scanning: 1 of 46” and stays there.
My WP and the AddToAny plugin are up to date, as are all the plugins on our site, and we’re running PHP 7.4.
Also, it would be nice to be able to check individual plugins, instead of having to scan all of them.
]]>The new version 1.6.2 runs much more quickly, and doesn’t stall like prior versions, because it doesn’t test each individual instance. That’s excellent.
Strangely, there is still a dialogue to “Make Your Site 2x Faster By Upgrading To PHP 7“. That’s archaic because it assumes you’re on PHP 6.x and being prompted to upgrade to 7. We should be going to PHP 8 today, and my site I’m looking at is on 8, which makes it all the more comical that the dialogue suggests I can double the site’s speed by downgrading the PHP.
Above the box at the top right of the screen is the WPEngine logo. The following text is in the box below the logo:
Make Your Site 2x Faster By Upgrading To PHP 7
Speed up your site and improve your conversion opportunities by upgrading to PHP 7 on the WP Engine platform.
]]>Hello,
Please fix PHP notice and warning:
PHP Notice: Undefined index: plugins in /php-compatibility-checker/wpengine-phpcompat.php on line 170
PHP Warning: Invalid argument supplied for foreach() in /php-compatibility-checker/wpengine-phpcompat.php on line 170
PHP Compatibility Checker says Updraft Plus 1.23.3 (non-premium) isn’t compatible with PHP 8 (actually PHP 5.6 on) and goes on to list a number of errors that mention functions, especially variations of something called mcrypt. Is this correct that it is truly incompatible and if so, can someone recommend an alternative? We’re a not for profit and just need to backup our content and databases. We’re run by volunteers so we need something pretty basic.
]]>I’m on 1.6.1 and I don’t understand why I’m getting the following error message or how to fix it.
Response status: 404
Message: The audit requested does not exist.
This seems to happen for only premium plugins, like MemberPress, AffiliateWP, Gravity Forms, and such.
The plugin isn’t looking only at public repos, is it? It seems like it should look at the actual code on my site, and then it would support any plugin or theme!
]]>I installed and activated the plugin to check any compatibility issue for my site (running PHP 5.6.40) that is to be upgraded to PHP 7.3. The test froze at 10th plugin, where I hit the rescan button. However, the rescan didn’t even start with 1st plugin. Then my entire admin froze and I was not even able to logout or login again.
I tried renaming the plugin, but the issue persists, the admin is inaccessible. I checked my log and this is the message that was repeated several times every minute:
[12-Mar-2023 19:44:21 UTC] PHP Fatal error: Maximum execution time of 120 seconds exceeded in myhost/www/wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 306
So it seems that the plugin is so terribly designed, that when the sniffing exceeds max execution time setting of the server, it crashes the entire site. Why is this monstrous plugin still recommended in official WordPress guides?
]]>Hi
This is my first time using PHP compatibility checker. I am a novice, with only limited knowledge. When I run the scan, it gets to around 2/28 plugins, then a pop up appears :
“Error:
Status: 0 “
and the scan seems to get stuck. Although the wheel by the scanning text still spins, not further plugins are added to the 2/28 total….any help greatly appreciated ?? thank you
]]>Hi, it’s been years this plugin has not got any updates.
And it still checks only up to PHP 7.3 version, most of us are using 7.4 version.
And 8.1 version is already out there, will we ever get the support for checking plugins compatibility for PHP 8.1 Version?
This is really cool feature to have, to know which plugins are compatible with php version.
Hoping that we will have some update from you guys.
Thank you.
]]>Hello!
Could you please update your post regarding progress on the future of the plugin?
I think the last post was about a year ago and it looks like most folk’s installations have already exceeded the limits of the plugin.
Thanks
I’m moving my sites to PHP 8 and just want to know if you can add a few checks even if it isn’t all the changes needed. Any advice on fixing broken things is greatly appreciated.
]]>It was encouraging to see an update of this plug-in, giving hope for further development. However, dissapointing for those using PHP 8, that no attention was paid to the information I posted 2 months ago giving fixes for the errors caused by the deprecated curly brackets issue. These fixes still need to be made in the updated version.
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php
on lines 453, 459 and 739 as in the previous version, but also now in lines 780 and 874 in the updated version.
Also
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php
on lines 2028 and 2033 as in the previous version, but also in line 2079 in the updated version.
After the above correction was made in line 2033, a new error appeared:
PHP Parse error: syntax error, unexpected token ";" in wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2034.
This is caused by a missing parenthesis near the end of line 2033, which may be corrected by adding a parenthesis in line 2033 as follows:
if (strtoupper($string[$i] === $string[$i])) {
Hope that these are false positives
https://drive.google.com/file/d/1-pMowC73v4E2m4ExjPr95L0W822oQD1K/view?usp=sharing
For anyone still using this plug-in to check PHP compatibility up to PHP 7.3, although using PHP 7.4, or PHP 8.0 on your machine, you will encounter fatal errors with the present plugin version. Thus with PHP 8.0:
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 453
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 459
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 739
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2028
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2033
If you wish to fix this issue, it is one of the easiest to fix. Go to the respective line in the files and simply repace the curly brackets { } with square brackets [ ]
Save the files after making the changes and you should be back in business.
I can’t delete the plugin. I only see the deletion process and nothing else is happening. I want to delete it, but i don’t know how?
]]>Using plugin version 1.5.0
Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/htdocs/wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2028
Site is using:
Hello everyone.
I wanted to take an opportunity to update you all on our progress toward refactoring the PHP Compatibility plugin.
To recap the current issues in need of updating:
PHP Compatibility Plugin Structure: PHP Compatibility plugin only provides support up to PHP 7.3 and does not support PHP 7.4 or 8. Major changes between 7.3 and 7.4/8 and the underlying plugin structure require a considerable refactor to support newer versions of PHP as well as older versions that have been supported historically.
Scanning Issues / Outages: Some (but not all) users of PHP Compatibility plugin experience run-away processes that can cause issues for the server environment where the scan is run. If this happens in a production environment, this can result in a site failure and downtime. The run-away processes are environment-specific (i.e. host specific) and are nearly impossible to predict or fix from the perspective of the plugin. After much research and testing internally and also with many in the WP community, we have concluded that linting using production server resources is the incorrect approach.
After reviewing both sets of the issues described above we have decided on a refactor we believe will solve both overarching issues and provide a better overall experience for those using PHP Compatibility plugin.
What we’re working on now:
We will be refactoring PHP Compatibility plugin to use an endpoint of Tide catered to plugin PHP compatibility in order to provide linting results vs. running PHP linting within the plugin using the resources of the web host where the plugin is being run.
For those unfamiliar, Tide’s API provides PHP linting results for .org plugins and themes. The linting is performed within an external and controlled hosting environment managed by XWP. Using the Tide API for PHP linting will allow users of the plugin to “offload” the load of PHP linting to Tide and preserve their web server’s resources. This will fix the Scanning Issues / Outages illustrated above.
Additionally, Tide stores linting results for plugins by version number which means the same plugin doesn’t have to be scanned over and over again. Leveraging cached linting results means that every user of PHP Compatibility will have faster scans and the plugin will greatly reduce the global computing and energy resources it consumes today.
Finally, because PHP Compatibility will use the Tide API for PHP linting, the PHP Compatibility plugin will inherit the ability to scan new versions of PHP from the Tide API. WP Engine has made a sizeable sponsorship to XWP the maintainers of Tide and we greatly appreciate their contributions on this project in general. If you’d like to contribute to Tide, you can learn more here. Offloading linting via the Tide API, will fix the PHP Versions issue described above (i.e. constant refactoring as PHP advances).
For clarity, here is a rundown of the current feature set and what we’re moving towards.
Current Version’s Key Features:
Scan all plugins and themes using the server resources of the site where the plugin is running.
Provide linting results for all plugins & themes.
Refactored Version’s Key Features:
Query the Tide api for existing linting results for .org plugins and themes. For plugins / themes without existing linting results, use the Tide API’s external resources to lint the .org plugin / theme.
Provide linting results for .org plugins & themes.
As for timing, we are in the design phase of this refactor now and will be starting development soon. We have committed resources to this refactor. We will provide updates on timing once we finish the design phase.
We know that this has been a long time coming and that many of you are frustrated with the slow progress.
In the meantime, you can also use the PHP Compatibility Library to lint for PHP Compatibility. That is the library that the plugin currently uses and Tide also uses: https://github.com/PHPCompatibility/PHPCompatibility
In any case, we hope this update is helpful and we look forward to the refactor delivering much faster support for new versions of PHP, zero downtime issues for anyone, and a faster experience for all.
Best regards,
Anthony Burchell
Just updated my website to WordPress 5.6. Went to try and update all plugins. The list stops alphabetically at PHP Compatibility checker. WordPress says this plugin has not been tested with this version of WordPress. Deactivated it – plugin list still stops at PHP Compatibility checker, even though there are six plugins below it in alphabetical order, all of which need updating (I can only see them in my Dashboard “Updates” area, not in the Plugin area) Tried to delete PHP compatibility checker. I get a message “plugin cannot be deleted while it is active on the main site.” I want to delete it. How?
]]>