Fatal error: Uncaught Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND visible=1 AND timestamp<='2023-06-02 06:55:03' ORDER BY timestamp DESC' at line 1 query: SELECT * FROM blog WHERE blogtype_id= AND visible=1 AND timestamp<='2023-06-02 06:55:03' ORDER BY timestamp DESC in /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php:1827 Stack trace: #0 /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php(1435): MysqliDb->_prepareQuery() #1 /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php(514): MysqliDb->_buildQuery(NULL) #2 /home/customer/www/thescoutingapp.com/public_html/blog.php(33): MysqliDb->query('SELECT * FROM b...') #3 {main} thrown in /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php on line 1827
Fatal error: Uncaught Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND visible=1 AND timestamp<='2023-06-02 06:55:03' ORDER BY timestamp DESC' at line 1 query: SELECT * FROM blog WHERE blogtype_id= AND visible=1 AND timestamp<='2023-06-02 06:55:03' ORDER BY timestamp DESC in /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php:1827 Stack trace: #0 /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php(1435): MysqliDb->_prepareQuery() #1 /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php(514): MysqliDb->_buildQuery(NULL) #2 /home/customer/www/thescoutingapp.com/public_html/blog.php(33): MysqliDb->query('SELECT * FROM b...') #3 {main} thrown in /home/customer/www/thescoutingapp.com/public_html/platform/class/MysqliDb.php on line 1827