I'm down to just one error now (after unfortunately needing to hack into user.module to fix another host of errors) and I believe it is preventing me from seeing the modules page. I get a similar error when attempting to run update.php on my site too.
I cannot for the life of me figure out how this could get fixed. Any suggestions? I've scoured the drupal.org site for help and no dice.
Running PHP 5.3.20 on MAMP Pro, Drupal core version 7.21
All of these are stemming from user.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 openpublish_blog_post content [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (line 3058 of [redacted directory name]/modules/user/user.module).
Comments
Comment #1
adevane commentedI ended up moving off of the local instance and onto a shared hosting environment, sometimes local dev has its own random issues. I installed Homebrew for my next local instance and so far things have been better while doing just local MAMP stuff.