Active
Project:
OpenID Admin
Version:
7.x-1.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2012 at 20:57 UTC
Updated:
7 May 2012 at 14:06 UTC
Jump to comment: Most recent
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
Comment #1
okokokok commentedSame for me, core 7.14.
Comment #2
Mikael Nord commentedUnfortunately 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));