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 'ORDER BY `date` desc limit 1' at line 4 in /home/d3007/public_html/tn/include/nova_class.php:311
Stack trace:
#0 /home/d3007/public_html/tn/include/nova_class.php(311): PDOStatement->execute()
#1 /home/d3007/public_html/tn/include/nova_class.php(58): nova_class->set_weather()
#2 /home/d3007/public_html/tn/street_v1.php(1117): nova_class->__construct(Object(PDO), 0, 0, 'Dalynridge Clos...', 'tn38 9', '', '', '', '622575.703098', ' -5527063.81452')
#3 /home/d3007/public_html/tn/index.php(261): include('/home/d3007/pub...')
#4 {main}
thrown in /home/d3007/public_html/tn/include/nova_class.php on line 311