phpcompat icon indicating copy to clipboard operation
phpcompat copied to clipboard

The plugin/theme was skipped as it was too large to scan before the server killed the process.

Open vmunich opened this issue 9 years ago • 2 comments

I keep getting The plugin/theme was skipped as it was too large to scan before the server killed the process.

I have increased PHP's max_execution_time to 900 seconds, and memory_limit to 1024M. After 1 minute or so, the plugin fails and I get that error. What's killing it?

In my logs, I see: [03-Dec-2016 02:09:27 UTC] WPE PHP Compatibility: startScan: [03-Dec-2016 02:09:27 UTC] WPE PHP Compatibility: timeout: 60

Where is it getting this timeout value from?

vmunich avatar Dec 03 '16 02:12 vmunich

I've read the plugin's FAQ and added this function to my site. Now instead of getting that error, it's been stuck checking a plugin for 30 minutes.

When I run the CLI command, this happens, then the script quits:

root@server [/home/site/www]# wp --allow-root phpcompat 7.0 --scan=active Testing compatibility with PHP 7.0.

Is there something else I must do to make it work?

vmunich avatar Dec 03 '16 03:12 vmunich

@vmunich If you can, you could run the script directly. https://github.com/wimg/PHPCompatibility This plugin just integrates PHPCompatibility in a WordPress plugin to make it easier for the non-developer.

grappler avatar Jan 14 '17 09:01 grappler