Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 124 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 126 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 130 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 132 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 136 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 138 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 124 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 126 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 130 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 132 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 136 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Notice: Undefined index: ca_action in content_access_rules_rules_action_info() (line 138 of /sites/all/modules/content_access/content_access_rules/content_access_rules.rules.inc).
Comments
Comment #1
zeezhao CreditAttribution: zeezhao commentedGot similar message. Please were you able to resolve? I am using latest rules dev too.
Comment #2
rollingnet CreditAttribution: rollingnet commentedThe same occurs to me.
Can you solve it or tell us how to fix?
Comment #3
zeezhao CreditAttribution: zeezhao commentedHi. Please were you able to solve this?
Comment #4
good_man CreditAttribution: good_man commentedWorking on it.
Comment #5
good_man CreditAttribution: good_man commentedThe new dev version should appear within an hour or so. Please check it (check first it's packed on 23/11), and tell me if it works correctly.
Comment #6
zeezhao CreditAttribution: zeezhao commentedThanks. Error message now fixed.
Comment #7
good_man CreditAttribution: good_man commentedCool thanks for the fast response.
Comment #9
raveendrab CreditAttribution: raveendrab commentedHi,
The problem is still present with 7.x-dev version and Content Access dev. version. Please fix the problem.
Notice: Undefined index: type in content_access_admin_settings_submit() (line 167 of /usr/local/share/drupal7/modules/content_access/content_access.admin.inc).
Notice: Undefined index: type in content_access_admin_settings_submit() (line 181 of /usr/local/share/drupal7/modules/content_access/content_access.admin.inc).
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] => 2 [:db_insert_placeholder_1] => edit own content [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (line 3034 of drupal-7.x-dev/modules/user/user.module).
Comment #10
Otamay CreditAttribution: Otamay commentedSame here. Using git branch does not fix the problem, either (28 August 2012)
Comment #11
ShaneEaston CreditAttribution: ShaneEaston commentedI had this problem today working in a Dev environment on my local machine. Same code base and DB as production but the PHP version on production was 5.3.13 and I had the error on PHP 5.4.4. Once I reverted PHP to 5.3.14 (mamp pro) the issue resolved itself. I'm not sure exactly what changed between those versions that caused this but reverting fixed it in my case.
Comment #12
aboodred1 CreditAttribution: aboodred1 commentedHi,
In order to fix the notice issue you need to add & to $form_state parameter, content_access.admin.inc line 115
Comment #13
drplNemesis CreditAttribution: drplNemesis commentedThanks aboodred1, that fixed it.
Comment #14
tgeller CreditAttribution: tgeller commentedJust to clarify: The patch is in -dev now. How about rolling a new release, hmm? ;)
Comment #15
tgeller CreditAttribution: tgeller commentedSorry, I accidentally changed the status.