There are any schedule tasks.
After launching cron, in logs:

Undefined index: data в функции RulesSchedulerDefaultTaskHandler->runTask().

Schedule Tasks are not executed!!!

Also if cron is runned manually, white screen appears.

#4 d7_rules_scheduler_state.patch637 bytesfago
PASSED: [[SimpleTest]]: [MySQL] 351 pass(es).
[ View ]


Status:Active» Postponed (maintainer needs more info)

Could you check that rules_scheduler_update_7204() ran through on your site? I.e., the database table
'rules_scheduler' should have a "data" column instead of a "state" column.

* Rename rules_scheduler.state into
function rules_scheduler_update_7204() {
db_change_field('rules_scheduler', 'state', 'data', array(
'type' => 'text',
'not null' => FALSE,
'serialize' => TRUE,
'description' => 'The whole, serialized evaluation data.',

yes, the database table 'rules_scheduler' have a "data" column instead of a "state" column.

Full ERROR text:
Notice: Undefined index: data in fuction RulesSchedulerDefaultTaskHandler->runTask() (string 30 in file ....sites/all/modules/rules/rules_scheduler/includes/

Version:7.x-2.5» 7.x-2.x-dev
Priority:Critical» Major
Status:Postponed (maintainer needs more info)» Needs review
new637 bytes
PASSED: [[SimpleTest]]: [MySQL] 351 pass(es).
[ View ]

oh, I see - the problem is probably that there were some items in the queue which are not covered by the updated process. Could you test whether the following patch works for you?

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'name': INSERT INTO {users} (uid, created, data) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 1393 [:db_insert_placeholder_1] => 1381761679 [:db_insert_placeholder_2] => a:2:{s:7:"contact";i:0;s:17:"mimemail_textonly";i:0;} ) in function drupal_write_record() (string 7106 in file ..../includes/

Issue summary:View changes

Notice: Undefined index: data in the function RulesSchedulerDefaultTaskHandler-> runTask () (line 30 in file ..../sites/all/modules/rules/rules_scheduler/includes/

I cleared old records from DB and now Rules Sheldure works fine.
Thank you for patch!!!

Same issue (I think)

I have a bunch of scheduled jobs in the queue and noticed that when I ran cron manually I got the following notice:

Notice: Undefined index: data in RulesSchedulerDefaultTaskHandler->runTask() (line 30 of /www/ibbr/sites/all/modules/rules/rules_scheduler/includes/

And this error in my PHP error logs:

PHP Fatal error: Call to a member function restoreBlocks() on a non-object in /www/ibbr/sites/all/modules/rules/rules_scheduler/includes/ on line 31, referer:

I went and deleted everything out of my scheduled queue and re-queued a few items and got the same errors.

With the patch in#4 I get different (and exciting) errors!

Notice: Array to string conversion in view->get_url() (line 1639 of /www/ibbr/sites/all/modules/views/includes/
Recoverable fatal error: Object of class RulesState could not be converted to string in view->get_url() (line 1639 of /www/ibbr/sites/all/modules/views/includes/

#4 work for me

Issue summary:View changes
Status:Needs review» Fixed

ok, committed #4.

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.