When a user who does not have the administer content permission assigned to their role attempts to edit or create content they receive the following error upon submission.

warning: Invalid argument supplied for foreach() in /home/virtual/site53/fst/var/www/html/cms/modules/simple_access/simple_access.module on line 159.
warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site53/fst/var/www/html/cms/includes/common.inc:384) in /home/virtual/site53/fst/var/www/html/cms/includes/common.inc on line 192.

What can I try to determine where the cause is?

Comments

jjeff’s picture

Yes, I noticed this problem in the code when I was fixing http://drupal.org/node/26794

I've committed a new version (1.10) to CVS and this problem should be fixed.

-Jeff

jjeff’s picture

Assigned: Unassigned » jjeff
Status: Active » Fixed
jjeff’s picture

Status: Fixed » Closed (fixed)

  • Commit ee03be8 on 4.6.x-1.x, 4.7.x-1.x, 5.x-1.x, 5.x-2.x, 6.x-2.x, master, 8.x-3.x by jjeff:
    Fix for #26794. Apparently the fix for #26500 broke some other things....