The following error is generated when trying to install subs module:
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] => create subs [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (line 3043 of /var/www/vhosts/techandoffice.com/httpdocs/dropjobs2/modules/user/user.module).

Comments

alexweber’s picture

Status: Active » Postponed (maintainer needs more info)

Since Subs doesn't assign any permissions (just defines new ones) it's unlikely that this error is related to Subs. Are you running a feature-based site that exports permissions?

andredw’s picture

The error occurs during the installation of the 7.x-1.x-dev version of Drop Jobs. I am able to complete the installation of Drop Jobs when I remove the subs module from the contrib directory. Even after I successfully install Drop Jobs 7.x-1.x-dev without the subs module, the error occurs when I try to install the subs module. This is the reason I identified the error as being one related to the subs module.

alexweber’s picture

Thanks andredw, it looks like we're including a crappy version of subs, i'll try to update it when i get some time and see what happens :)