Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I created a simple Rule that flags comment:node
after a comment was edited. This works fine for registered users, but not for anonymous users. I get the following errors:
Notice: Trying to get property of non-object in flag_flag->flag() (regel 730 van /MYSITE/sites/all/modules/flag/includes/flag/flag_flag.inc).
Notice: Trying to get property of non-object in flag_flag->flag() (regel 739 van /MYSITE/sites/all/modules/flag/includes/flag/flag_flag.inc).
Probably this doesn't relate to the problem, but anonymous users don't have permission to flag nodes, so I skip the permission check in the Rule.
Comments