Hey Daniel and all,

After upgrading to the latest -dev version and running update.php, I'm now getting the following notice:

Notice: Trying to get property of non-object in nodeaccess_userreference_node_access() (line 285 of /Users/benkaplan/git/commerce_quickstart7/sites/all/modules/contrib/nodeaccess_userreference/nodeaccess_userreference.module).

Thanks,
Ben

Comments

danielb’s picture

Hmm I found that bug, but I thought I fixed it. I'll check it out.

danielb’s picture

Oh no that's a different line. Yeah I can see what to do, cheers.

danielb’s picture

Status: Active » Fixed
BenK’s picture

Thanks, Daniel. I just wanted to confirm that I've tested the commit and the notice is gone. :-)

--Ben

Beatrice Pate’s picture

Title: Notice: Trying to get property of non-object in nodeaccess_userreference_node_access() (line 285) » Notice: Trying to get property of non-object in user_access() (line 774 of C:\xampp

Hi

I was settupt new site and ran into issues with user access, soI have tried putting in a new drupal installation, and am still getting error messages.

The versions of the modules I have are:

chaos tool suite: 7.x-1.0-beta
panels: 7.x-3.x-dev
views: 7.x-3.x-dev

I see there is a new CTools ( a dev version) but the note says it is not stable.

Can you give me any suggestions?

Bea Pate

Beatrice Pate’s picture

I have disables module Admin "Administration Views" and module Views Bulk Operations and the error messages have disappeared.

danielb’s picture

Title: Notice: Trying to get property of non-object in user_access() (line 774 of C:\xampp » Trying to get property of non-object in nodeaccess_userreference_node_access() (line 285)

please don't usurp issues

Beatrice Pate’s picture

Sorry, but I am new to all this and am not sure what I did wrong???

danielb’s picture

The original issue is fixed and it is good to leave it here as a record of what has been done, so don't change the settings to something else, start a new issue.

Beatrice Pate’s picture

thanks ... will do in future

Status: Fixed » Closed (fixed)

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