Plugin creates cron tasks (wp_options table)
-
Hi,
we were facing an issue due to which the table row with the option_name column = “cron” in the wp_options table got polluted with more and more tasks of the HugeIT Gallery plugin.
The tasks look like this example.
{ [1499087223]=> array(1) { [“hugeit_image-gallery_opt_in_cron”]=> array(1) { [“40cd750bba9870f18aada2478b24840a”]=> array(3) { [“schedule”]=> string(27) “hugeit-image-gallery-weekly” [“args”]=> array(0) { } [“interval”]=> int(604800) } } } [1499087227]=> array(1) { [“hugeit_image-gallery_opt_in_cron”]=> array(1) { [“40cd750bba9870f18aada2478b24840a”]=> array(3) { [“schedule”]=> string(27) “hugeit-image-gallery-weekly” [“args”]=> array(0) { } [“interval”]=> int(604800) } } }
We have no idea why they’re there and won’t stop getting added. It seems like every time _set_cron_array($crons) gets called in the cron.php of WordPress there is a new entry of your plugin in the serialized array.
The issue however gets resolved as soon as we deactive the plugin (v.2.2.2)
Is there any clue you might have to solve this issue?
It pretty much came out of nowhere.
- The topic ‘Plugin creates cron tasks (wp_options table)’ is closed to new replies.