admoment
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Crontrol] Unable to delete (now) EventTraditional approaches to deleting these cron jobs are not working as expected. I was able to successfully delete them only by manually removing all cron jobs via phpMyAdmin.
We host at WP Engine, but I assume the same method can work for other hosts as well:
1. Take a backup of your live site.
2. Using phpMyAdmin select the YOURDATABASE database => SQL Tab and use the following statement to delete the cron option
UPDATE wp_options SET option_value = '' WHERE option_name = 'cron'
3. Deactivate and reactivate plugins that add cron events on activation. In my case this only applied to woocommerce.
- This reply was modified 7 years ago by admoment.
Forum: Plugins
In reply to: [WP Crontrol] Unable to delete (now) EventYeah, unfortunately deactivating WP All Import does not help. Same issues. I spoke to WP Engine (hosting) and they tried to remove the crons server side and still couldn’t get rid of them.
Here’s their reply:
I’ve been working to remove the cron job that we talked about in our chat. I attempted to delete it, but it seems that my tool went and deleted all of the cron jobs with that hook (unfortunately including the one you wanted to keep) but it did not remove the one we wanted to get rid of.
– next –
Alright, tried to delete that cron sitting at the top, seems to have had the expected behavior. I did get an entry in the debugging though;
[22-Feb-2018 12:00:19 UTC] PHP Warning: file_get_contents(https://sitename.w…d=12&action=processing): failed to open stream: HTTP request failed! in /nas/content/live/sitename/wp-content/plugins/wp-crontrol/wp-crontrol.php(71) : eval()’d code on line 2
Seems to be trying to use a semi-colon in the URL it’s trying to use, and as far as I can tell, it’s not actually specifying a file in the URL.
Unfortunately with serialized arrays, if they put in to the table incorrectly, it generally breaks things and causes WordPress to put in the default cron jobs there. I had the original array saved in a text file so I was able to put it back, but I can’t sort out the array to just remove the specific crons we want gone.
– – –
Does that help?
Forum: Plugins
In reply to: [WP Crontrol] Unable to delete CronjobWe are also having the exact same problem as @rboulet
Resolved
It seems that somehow the correct list was deselected under “Forms”. But it’s working fine now. Cheers!