Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am trying to use a rule to reset content permissions. During the execution of the rule, I get this message:
Call to undefined function content_access_get_acl_id() in ....\sites\all\modules\content_access\content_access.module on line 391
But the function does exist in content_access.admin.inc though...
Comments
Comment #1
salvisThat means content_access.admin.inc ought to be loaded before calling that function. Look for 'include' elsewhere in content_access.module for the line that loads the file.
Comment #2
zeezhao CreditAttribution: zeezhao commentedI had already fixed it locally by adding this line in content_access.module in:
Just reporting it so that it gets fixed, as I am not familiar with patch system...
Comment #3
nodecode CreditAttribution: nodecode commented+1
I get the same error message and would really like to see this fixed in the next update. BTW when i go back to the node, it looks like everything worked properly despite the error message.
Love Content Access, couldn't run my site without it!
Comment #4
fagoI moved the function in the main .module file. Please test.