Not sure if this is happening for anyone else but Recurly push notifications for expired accounts are not working. Here is the log dump:

Notice: Trying to get property of non-object in recurly_roles_recurly_process_push_notification() (line 165 of /srv/bindings/code/sites/all/modules/contrib/recurly_roles/recurly_roles.module).

Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 175 of /srv/bindings/code/includes/entity.inc).

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'name': INSERT INTO {users} (uid, created, data, uuid) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => 1929 [:db_insert_placeholder_1] => 1437751652 [:db_insert_placeholder_2] => a:1:{s:17:"mimemail_textonly";i:0;} [:db_insert_placeholder_3] => {removed for posterity} ) in drupal_write_record() (line 7333 of /srv/bindings/code/includes/common.inc).

Looks like it's failing to locate the user so it's trying to insert a new one. Since the account already exists, we're running into an issue. Checked the Webhook log and it's been happening since we updated to the current version.

Comments

aburke626’s picture

Based on your error, this should be an issue for recurly roles - recurly_roles_recurly_process_push_notification isn't in the Recurly module. Does this happen without Recurly roles? Can you outline the steps to reproduce?

aburke626’s picture

Priority: Critical » Major
aburke626’s picture

Status: Active » Closed (won't fix)

Closing, no activity, and is an issue for Recurly Roles.