Give the gift of Drupal. All merchandise is 50% off through 2016.
I thought this was related to another issue but have discovered this bug in production on a site where the rule scheduling was working perfectly before. The site is generating this error on Cron:
Call to a member function restoreBlocks() on a non-object in /var/www/drupal7/sites/all/modules/rules/rules_scheduler/rules_scheduler.module on line 62
It looks that the RulesState object is not being serialized correctly. It looks like this:-
I had a look around to see if there were any PHP serialisation issues around, but I couldn't find anything obvious. We're on PHP 5.3.10