PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO {role_permission} (rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array
(
[:db_insert_placeholder_0] => 3
[:db_insert_placeholder_1] => administer sharethis
[:db_insert_placeholder_2] =>
)
in user_role_grant_permissions() (line 3034 of drupal-7.14/modules/user/user.module).
Drush command terminated abnormally due to an unrecoverable error.

Comments

SocialNicheGuru’s picture

i have drush 5+ installed and I get:

WD php: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO {role_permission} [error]
(rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array
(
[:db_insert_placeholder_0] => 3
[:db_insert_placeholder_1] => administer sharethis
[:db_insert_placeholder_2] =>
)
in user_role_grant_permissions() (line 3105 of /var/aegir/platforms/7/servers/sng-d7-nearthis/modules/user/user.module).

Gaofengzzz’s picture

Status: Active » Postponed (maintainer needs more info)

Thank you for reporting this issue. but for my idea, this bug might be related to drush module. Also see #1822930: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column module cannot be null:.

VladimirAus’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)

Issue was inactive for more than 9 years. Closing.
Feel free to reopen if you feel that it is still relevant. ⏳