i get the following error when i add my openid to the admin account:

ceres:~/platforms/drupal-7.10-build-2012.01.26-production/sites/maj-7.site.koumbit.net/modules/dblogin$ drush openid-add 1 https://id.koumbit.net/anarcat
PHP Fatal error:  Unsupported operand types in /srv/aegir/platforms/drupal-7.10-build-2012.01.26-production/includes/database/database.inc on line 651

Fatal error: Unsupported operand types in /srv/aegir/platforms/drupal-7.10-build-2012.01.26-production/includes/database/database.inc on line 651
Drush command terminated abnormally due to an unrecoverable error.                                                                                                                                                     [error]
Error: Unsupported operand types in /srv/aegir/platforms/drupal-7.10-build-2012.01.26-production/includes/database/database.inc, line 651

the account is not added to the account.

Comments

okokokok’s picture

Same for me, core 7.14.

Mikael Nord’s picture

Unfortunately I cannot upload a patch from this device, but to correct this you need to replace old style placeholders in the DB call with the correct ones. Please change openidadmin.drush.inc line 40 to:

db_query("INSERT INTO {authmap} (uid, authname, module) VALUES (:uid, :module, 'openidjj')", array(":uid" => $account->uid, ":module" => $claimed_id));