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

zeezhao’s picture

Got similar message. Please were you able to resolve? I am using latest rules dev too.

rollingnet’s picture

The same occurs to me.
Can you solve it or tell us how to fix?

zeezhao’s picture

Hi. Please were you able to solve this?

good_man’s picture

Assigned: Unassigned » good_man
Status: Active » Needs work

Working on it.

good_man’s picture

Status: Needs work » Needs review

The 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.

zeezhao’s picture

Thanks. Error message now fixed.

good_man’s picture

Status: Needs review » Fixed

Cool thanks for the fast response.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

raveendrab’s picture

Hi,

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).

Otamay’s picture

Same here. Using git branch does not fix the problem, either (28 August 2012)

ShaneEaston’s picture

I 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.

aboodred1’s picture

Hi,

In order to fix the notice issue you need to add & to $form_state parameter, content_access.admin.inc line 115

function content_access_admin_settings($form, &$form_state, $content_type) {
//body
}
drplNemesis’s picture

Thanks aboodred1, that fixed it.

tgeller’s picture

Status: Closed (fixed) » Needs review

Just to clarify: The patch is in -dev now. How about rolling a new release, hmm? ;)

tgeller’s picture

Status: Needs review » Closed (fixed)

Sorry, I accidentally changed the status.