Notice: Undefined offset: 0 in /var/www/vhosts/ on line 12
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 boolean in /var/www/vhosts/ Stack trace: #0 /var/www/vhosts/ mysql->getResultsArray() #1 /var/www/vhosts/ news->getItemMainImage(NULL) #2 /var/www/vhosts/ include('/var/www/vhosts...') #3 {main} thrown in /var/www/vhosts/ on line 182