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.
Installed and enabled 7.x-2.0-beta1 without incident. Tested on a node by limiting access to that node to one group. The access control seems to function flawlessly. When I return to the node to edit it, however (logged in as User #1), I receive the following message:
Warning: Illegal offset type in form_type_checkboxes_value() (line 2210 of .../includes/form.inc).
I'd not seen this warning before Simple Access was installed.
Comments
Comment #1
scottrouse CreditAttribution: scottrouse commentedOh, also just noticed that returning to edit the node turns off any access control rendering the node publicly viewable. I have to re-check the access control group and save the node. However, the automatic-disabling of access control every time a node is edited renders this module unusable for me at this time.
Comment #2
scottrouse CreditAttribution: scottrouse commentedAlso seeing
Notice: Undefined index: sa in simple_access_form_node_type_form_alter() (line 385 of /sites/all/modules/simple_access/simple_access.module).
when trying to edit the content type of an access-controlled node andNotice: Undefined index: simple_access in simple_access_node_type_submit() (line 397 of /sites/all/modules/simple_access/simple_access.module).
after submitting changes to the content type.Comment #3
wmostrey CreditAttribution: wmostrey commentedI have the same error:
Error message
Warning: Illegal offset type in form_type_checkboxes_value() (line 2209 of [...]/includes/form.inc).
The Simple Access functionality works perfectly but when editing a node, the Access tab by Simple Access is empty. This means that someone who edits a node and doesn't pay attention to set the correct access rights again, sets the node publicly. Because of this I'm marking the issue as critical.
The notice mentioned in #2 has a separate issue at #1084254: Exception when editing a content type using Simple Access
Comment #4
Mark Vincent Verallo CreditAttribution: Mark Vincent Verallo commentedsubscribed
Comment #5
nils_r CreditAttribution: nils_r commentedI have the same behaviour without the error messages.
Comment #6
gordon CreditAttribution: gordon commentedduplicate #1211002: Notice: Undefined index: sa in simple_access_form_node_type_form_alter() (line 385 of ...simple_access.module).