I have seen this error message a few times and even after googling quite some time I'm really unable to figure out what is wrong:
$uid = GNGHelper::getLoggedInUserID();
$assignedGuideID = $tour->get('guide')->get('juser_id');
$isCoord = GNGHelper::isLoggedInUserCoord();
if (($uid == $assignedGuideID) || ($isCoord === true)) {}
I get the following error pointing to the if statement:
Fatal error: Call to undefined function () in /home/gonative/public_html/dev/modules/mod_gngtourdetails/mod_gngtourdetails.php on line 51
What is wrong with this if statement?
Thanks a lot! W.