Notice: Trying to get property of non-object in flag_friend_access_node_load() (line 94 of /home/u3220/domains/*****/sites/all/modules/flag_friend/flag_friend_access/flag_friend_access.module).
    Warning: Attempt to assign property of non-object in flag_friend_access_node_load() (line 94 of /home/u3220/domains//*****/sites/all/modules/flag_friend/flag_friend_access/flag_friend_access.module).

where is the problem?

Comments

sirkitree’s picture

Not really sure yet - still working on the D7 version

sirkitree’s picture

Title: need help » flag_friend_access_node_load() Notice/Warning

Better title

skripatch’s picture

Hi,
I have the same problem.
Just installed the "flag" module with "flag actions", "flag friends" and "flag friends access control".

Now on each page load a get:

Notice: Trying to get property of non-object in flag_friend_access_node_load() ...

Warning: Attempt to assign property of non-object in flag_friend_access_node_load()...

I found some patch, but did not try it yet:
http://drupal.org/files/issues/flag_friend_access-486704_0.patch

but it seems to be older than the latest release.

Thanks for advise.

shawn dearmond’s picture

Component: Code » Flag friend access
Status: Active » Needs review
StatusFileSize
new1.01 KB

I'm getting this too. It's part of flag_friend_access.

Here's a patch that fixes it.

sirkitree’s picture

Status: Needs review » Fixed

Yeup, looks like hook_node_load was changed: fixed. http://drupalcode.org/project/flag_friend.git/commitdiff/c3f7267

Status: Fixed » Closed (fixed)

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