Hi
I have setup the module however when searching the following error appears instead of the event description.
The events are set to ACCESS "public" but Registration Access "registered"
If i change this to ACCESS "public" but Registration Access "public " the error goes away.
Here is the error
Your search Warning: in_array() expects parameter 2 to be array, null given in /components/com_eventbooking/views/common/events_default.php on line 66
Here is line 66
<?php
}
//output event description
if (!$event->short_description)
{
$event->short_description = $event->description;
}
echo $event->short_description;
if (!$canRegister && $event->registration_type != 3 && $config->display_message_for_full_event && !$waitingList)
{
if (@$event->user_registered)
{
$msg = JText::_('EB_YOU_REGISTERED_ALREADY');
}
elseif (!in_array($event->registration_access, $viewLevels))
{
$msg = JText::_('EB_LOGIN_TO_REGISTER') ;
}
else
{
$msg = JText::_('EB_NO_LONGER_ACCEPT_REGISTRATION') ;
}
?>
Success consists of going from failure to failure without loss of enthusiasm.