I'm trying to run PHP Compatibility checker on my site and it keeps getting stuck. Is it possible WP cron is not running correctly?

Avatar
  • updated
  • Answered

I need to update PHP so I am trying to make sure everything is compatible before I do that. So I am trying to run PHP compatibility checker and it keeps getting stuck. It states that if Wp-cron is not running correctly it will get stuck. How do I check to see if it is running correctly?

Thank you.

Avatar
IMH Support Agent 1
Quote from Gloria

Hi John-Paul B

I have not touched any PHP files. I really have no idea how to do that. Is it possible you can remove it for me? I don't want to screw up my site.

Since this is just a public forum, we cannot make any changes to your website. The article I provided earlier explains how to access the DISABLE_WP_CRON setting. Changing it from true to false will allow wp_cron to run.

If your problems persist, I recommend contacting our Live Technical Support team so they can provide account specific assistance.

Avatar
Gloria

Hi John-Paul B

I have not touched any PHP files. I really have no idea how to do that. Is it possible you can remove it for me? I don't want to screw up my site.

Avatar
IMH Support Agent 1
Quote from Gloria

Here is what I found - The DISABLE_WP_CRON constant is set to true as of 09/03/2019 8:53:41 pm. WP-Cron is disabled and will not run on it's own.

and also My PHP version is 7.2.19 on your server, but did not update on my site. 

Please advise

The wp-cron setting is not disabled by default. If you are disabling wp-cron by setting it to true, you can then set up a manual cron job. This is covered in our guide on how to Disable the wp-cron.php in WordPress.

Another option is to remove the DISABLE_WP_CRON setting from your wp-config.php file.

Avatar
Gloria

Thank you Amel. I now have my PHP figured out. But what about my WP- cron being disabled?

Avatar
IMH Support Agent 2

Hello Gloria,

If you are hosting with InMotion Hosting servers, then  you should be able to use different versions of PHP depending on your cPanel setting.  You can switch versions of PHP in the cPanel using the MultiPHP manager. You need to make sure that your cPanel is on the 7.2.19 version. If you're still having problems with the version not "updating" on your site, then please contact our live technical support team for further assistance.

If you have any further questions or comments, please let us know.

Kindest regards,
Arnel C.

Avatar
Gloria

Here is what I found - The DISABLE_WP_CRON constant is set to true as of 09/03/2019 8:53:41 pm. WP-Cron is disabled and will not run on it's own.

and also My PHP version is 7.2.19 on your server, but did not update on my site. 

Please advise

Avatar
IMH Support Agent 3
  • Answered

Thanks for submitting a question about testing the WP-Cron file. I'd advise first checking the support topics on the PHP Compatibility Check plugin support page. If you have isolate the WP-Cron file as the culprit, there are plugins that will test the functionality of the file. Alternatively, you could check it manually by creating your own plugin.