Closed replyPUSH closed 9 years ago
sorry posted under wrong user.
guest reactions would be widely open to abuse anyway.
for some reason it is has only created the view permissions. There are no Add permissions for Guest roles, but there are add permissions for members.
The lack of the add permission is no barrier.
I eliminated the problem by forcing the running of structure.
This was due to an upgrade without running the structure update?
I don't think so, though someone had messed with the version.
https://github.com/hgtonight/Application-Yaga/blob/master/controllers/class.reactcontroller.php#L79
will allow for
UserID = 0
later on on display you use
Gdn::UserModel()->GetID($Reaction->UserID);
This user doesn't exist so neither do its properties.Turn debug notices on they are helpful, in trapping this type of bug.