Warning: Trying to access array offset on value of type bool in /home/euromarine/public_html/controllers/boat.php on line 6

Warning: Trying to access array offset on value of type bool in /home/euromarine/public_html/controllers/boat.php on line 7

Fatal error: Uncaught mysqli_sql_exception: 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 aktivan=1 ORDER BY redoslijed ASC' at line 1 in /home/euromarine/public_html/functions/functions.php:86 Stack trace: #0 /home/euromarine/public_html/functions/functions.php(86): mysqli->query('SELECT * FROM s...') #1 /home/euromarine/public_html/controllers/boat.php(7): getPhotos(NULL) #2 /home/euromarine/public_html/index.php(65): include('/home/euromarin...') #3 {main} thrown in /home/euromarine/public_html/functions/functions.php on line 86