Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ':gallery_id AND status = '1' ORDER BY position ASC' at line 1 in /home/jewishusc/public_html/core/functions.php:262
Stack trace:
#0 /home/jewishusc/public_html/core/functions.php(262): PDO->query('SELECT * FROM i...')
#1 /home/jewishusc/public_html/core/functions.php(241): get_gallery_settings('7')
#2 /home/jewishusc/public_html/core/config.php(26): get_view_content(Object(PDO))
#3 /home/jewishusc/public_html/index.php(7): require_once('/home/jewishusc...')
#4 {main}
thrown in /home/jewishusc/public_html/core/functions.php on line 262