Posted: November 7, 2016 at 4:49 pm
|
I have just recently started seeing the following error. I have not disabled wp_cron. I’m on Godaddy managed hosting. “Event Espresso has detected that wp_cron is disabled. It’s important that wp_cron is enabled because Event Espresso depends on wp_cron for critical scheduled tasks. |
Hi Peter, I looks like GoDaddy has decided to disable wp_cron on their servers. I would recommend contacting them and have them enable it on your site. You may simply need to add something like:
to your wp-config.php file but it would be best to double check this with GoDaddy support. |
|
|
Is there any chance this could be a false positive? I’ve been working with Godaddy and they claim wp_cron is active. I’ve been running this site for a couple years with no issues. |
The code used to determine if that notice should display is: if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON && is_admin() ) { //display notice } So if DISABLE_WP_CRON has been defined and its true and your in the admin, display the notice. Its possible it’s a false positive, but really there is very little to go wrong with that statement. I guess DISABLE_WP_CRON may have been defined and set to something other than false, that evaluates to true but that would need to be done within wp-config.php or an MU plugin (which godaddy use). Check within /wp-content/mu-plugins for a gd-system-plugin.php file, you’ll likely find something like this – https://cl.ly/060b2t3C0n1r |
|
Are your sites messages working? If you register onto an event and then view the message activity list (Event Espresso -> Messages), refresh it after a few mins, and again a few min later, does the message for your registration change status and send? |
|
|
I have looked through the code in that folder and can’t find anything referencing DISABLE_WP_CRON. When I register, the messages moved from Queued For Generating to Queued For Sending but seem to be sitting there and not sending. |
That doesn’t sound like a false positive if the messages are not sending. You can make it so the messages send on the same request (and skip the need for wp_cron) by going to Event Espresso > Messages > Message Settings, then you set the setting to send messages on the same request. Other features of your site that need wp_cron will continue to not work, but at least your messages will be working. |
|
|
So, I moved the site to a new host. I’m still getting that message, but the emails that were waiting in the queue sent. Is that message just there because of the old site, or am I still having issues. Is there a way to get it to recheck? |
|
I tried registering again and now it is stuck at the Queued For Generating stage. |
It sounds like you’re still having issues. Have you tried the setting to send messages on the same request? |
|
|
I ended up setting up an external cron as I could not figure out where it was being disabled. Thanks! |
The support post ‘Event Espresso has detected that wp_cron is disabled’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.