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 'WHERE datum <= '2024-12-09 17-29-29' ORDER by datum DESC limit 0,1' at line 1 in /var/www/i_common/func/actuals2.php:17 Stack trace: #0 /var/www/i_common/func/actuals2.php(17): mysqli_query() #1 /var/www/i_common/content.php(154): include('...') #2 {main} thrown in /var/www/i_common/func/actuals2.php on line 17