Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
779 views

currentUser: Impossible to invoke a method ("isInGroup") on a null variable

I couldn't find this anywhere else, I'm looking up if the currentUser.isInGroup('verified') and if not, display another link. Works fine when logged in but throws a Template and Runtime error when ...
Rob's user avatar
  • 865