stuck
-
Hi
The plugin gets stuck each time at test number 4: https://snag.gy/Pi2Ivg.jpg
What can I do?
Regards
Aleks
-
Hi Aleks,
The PHP Compatibility Checker will skip a plugin if it can’t process it before the server timeout, and this can take up to 2 minutes. Then after the timeout it uses the wp-cron to pick back up, so if the wp-cron isn’t running correctly it’s possible it will get stuck.
Could you use the WP Crontrol plugin to make sure your wp-cron is running? The admin screen will show you a warning message if your cron system doesn’t appear to be working.
WP Crontrol throws this error: https://snag.gy/BKhbmH.jpg
The installation in on a staging site behind a htaccess lock on WP Engine.
On my local WordPress installations (different set of plugins) I get this error: https://snag.gy/Es8uNO.jpg
Hi Aleks,
On your staging site if you temporarily remove the .htaccess basic authentication the test should be able to finish.
The error you got on your local WordPress install generally means another plugin/theme is interfering with the JSON output, possibly an error or a notice. I was able to replicate this once with WP_DEBUG enabled. Could you try turning off WP_DEBUG if it is enabled? I’ve been looking into ways to solve this but it’s a very common WordPress problem.
I just figured out. Your plugin is not compatible with WooCommerce yet. When WooCommerce is the single active plugin I get this error: https://snag.gy/Es8uNO.jpg
When I turn WooCommerce off and turn the others on, then your plugin runs through.
That’s strange! When I test with WooCommerce active it seems to work:
https://cloudup.com/csDhEyVU2bn+
But you’re not the only user with this error. You can see the same error here:
https://ww.wp.xz.cn/support/topic/json-error-9?replies=5
Which version of WooCommerce do you have installed? My test install has version 2.6.2.
Thanks!
WordPress 4.5.3 (current stable)
WooCommerce 2.6.2 (current stable)
PHP 5.6.10 (on a MAMP installation)I just released a new version of the plugin that I don’t believe will resolve this issue, but the alert should provide more information. Could you take another screenshot of the JSON error alert?
Sorry. Still same issue.
I’m noticing this issue too and have the latest version of the plugin: 1.1.1
Screenshot: https://www.dropbox.com/s/zdou1q92ibb0s8n/Screenshot%202016-07-21%2008.37.57.png?dl=0
Also, it threw this error in the log:
[Wed Jul 20 21:29:06.449908 2016] [:error] [pid 1934] [client 75.137.91.187:16692] PHP Fatal error: Maximum execution time of 55 seconds exceeded in /nas/content/live/engeniusweb/wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility/Sniffs/PHP/ShortArraySniff.php on line 42, referer: https://engeniusweb.…ecker%2Fwpengine-phpcompat.phpHi brentalexander,
Could you install WP Crontrol to see if your site’s WP-Cron is functioning?
[WP Crontrol](https://ww.wp.xz.cn/plugins/wp-crontrol/)
There’s a section in the FAQ with more information, if that doesn’t help please open a new issue. Thanks!
After installing WP Crontrol, I get this message:
The DISABLE_WP_CRON constant is set to true. WP-Cron spawning is disabled.Hi brentalexander,
You’ll need to set the DISABLE_WP_CRON constant to false, this plugin needs WP-Cron to process your files. There are additional details about this here:
https://codex.ww.wp.xz.cn/Editing_wp-config.php#Disable_Cron_and_Cron_Timeout
If you need help with this please open a new issue. Thanks!
alekv,
Are you still interested in getting this to run with WooCommerce?
Sure I’m interested.
Great! I released version 1.1.2 which handles JSON differently. Could you give this a try and provide the screenshot of the alert if it doesn’t work?
Thanks!
The topic ‘stuck’ is closed to new replies.