I am using the latest GA release of Open Atrium 2.x. On some spaces, I get this error message:
Notice: Trying to get property of non-object in _oa_core_build_visibility_links() (line 495 of /var/www/dev.skinsense.com/profiles/openatrium/modules/contrib/oa_core/includes/oa_core.access.inc).
The error message is repeated several times. I have not yet identified the specific cause of the message.
I found this Issue but have found no resolution. The issue is still open.
HAJ
Comments
Comment #1
hefox commentedThat function is used for two panes, 'Content Visibility' and 'Visibility toolbar', the former has a required node context and later checks if $node->type is set
The function is passed a $node variable that based on ^ should be set to a node. Then it does the below checking, which should result in $section_node being set to a node (cause of the empty( check).
Is the line 495
So... how is that function on your install getting an invalid $section_node? Don't see how that could be happening unless something else is causing it or such, hard to debug without being able to reproducing it myself
the output of
would be helpful
Comment #2
jacobson commented