Closed (duplicate)
Project:
Simple Access
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2011 at 07:47 UTC
Updated:
6 Mar 2013 at 12:46 UTC
I have set up a user group that should be allowed to post blog content. However, if one of those users (non-admin) clicks the 'Create new blog entry' link, the following error message displays:
Fatal error: Call to a member function condition() on a non-object in .../sites/all/modules/simple_access/simple_access.module on line 637
This is a serious limitation of the module. Any ideas how to fix this?
Comments
Comment #1
mesr01 commentedHi. I've just installed this module and it looks very promising. Unfortunately, when requesting a node 'Edit' page, I get a white screen with this error:
Fatal error: Call to a member function condition() on a non-object in /path/to/site/modules/simple_access/simple_access.module on line 637I also get the following error when viewing the content type 'Edit' page but, this time, with the form correctly displayed.
Notice: Undefined index: sa in simple_access_form_node_type_form_alter() (line 385 of /path/to/site/modules/simple_access/simple_access.module)It seems to be related to the problem described above. I'm not sure how do diagnose it further.
Comment #2
joschy3d commentedyea, me too and after update to Drupal 7.4 installation error:
After activation you have also error in the structur-content types:
book:
Notice: Undefined index: sa in simple_access_form_node_type_form_alter() (line 385 of /mnt/webg/c0/84/52862084/htdocs/D7Space/sites/all/modules/simple_access/simple_access.module).page:
Notice: Undefined index: sa in simple_access_form_node_type_form_alter() (line 385 of /mnt/webg/c0/84/52862084/htdocs/D7Space/sites/all/modules/simple_access/simple_access.module).and so on... can´t use it.
Comment #3
laroccadahouse commentednot sure if this will help you, but I was getting the WSOD on creating content and editing as a non-admin and the fix here worked for me
http://drupal.org/node/991956
Comment #4
mesr01 commentedThat worked for me also.
Thanks @laroccadahouse.
Comment #5
simon georges commentedDuplicate of #991956: Non-admin users can't edit their own content, due to Fatal Error..