Notice: Undefined offset: 0 in /var/www/vhosts/zouklovers.nl/httpdocs/frontend/template_event_item_detail.php on line 12

Notice: Trying to access array offset on value of type null in /var/www/vhosts/zouklovers.nl/httpdocs/frontend/template_event_item_detail.php on line 13
Fout in Query: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND image_type_id = 2 LIMIT 1' at line 1

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/vhosts/zouklovers.nl/httpdocs/libraries/mysql.class.php:182 Stack trace: #0 /var/www/vhosts/zouklovers.nl/httpdocs/libraries/event.class.php(621): mysql->getResultsArray() #1 /var/www/vhosts/zouklovers.nl/httpdocs/frontend/template_event_item_detail.php(13): event->getItemMainImage() #2 /var/www/vhosts/zouklovers.nl/httpdocs/index.php(254): include('/var/www/vhosts...') #3 {main} thrown in /var/www/vhosts/zouklovers.nl/httpdocs/libraries/mysql.class.php on line 182