Get pop-up error when creating or accessing discussions:

Notice: Trying to get property of non-object in totem_discuss_form_comment_form_alter() (line 66 of /srv/www/www.example.com/public_html/totem/profiles/totem/modules/features/totem_...).
Notice: Trying to get property of non-object in totem_discuss_form_comment_form_alter() (line 66 of /srv/www/www.example.com/public_html/totem/profiles/totem/modules/features/totem_...).
Status message Not Found - 404 - Node view blocked.

Thanks for all your hard work!

Comments

natemow’s picture

Status: Active » Postponed (maintainer needs more info)

Just to confirm, you're definitely creating discussions from the context of a community node, right? I'm asking because if topic types are created outside of that context, and an associated community node is never set, that notice could be triggered.

DanielGriffin’s picture

Hi guys,
I'm running into something very similar after making bookmarks to events or discussions. The bookmark link seems to be the standard Drupal format

eg, a discussion:

?q=node/72

But that's being blocked - it's not a true 404 because the admin can see the node, complete with the message that kicaco reported.

Navigating to the Discussions list allows me to click what appears to be the same item, but the url is different:

?q=community/topic/topics/72

Thanks a million for a great package! If you have any idea how to fix this one I'll be so happy!!! It's the last bug on my list for a new project!