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 '-1, 1' at line 1 in /data01/virt13778/domeenid/www.usaraud.ee/htdocs/class/mysql.class.php:135
Stack trace:
#0 /data01/virt13778/domeenid/www.usaraud.ee/htdocs/class/mysql.class.php(135): mysqli_query(Object(mysqli), 'SELECT carlog_u...')
#1 /data01/virt13778/domeenid/www.usaraud.ee/htdocs/class/autolog.php(65): sql->query(Object(mysqli), 'SELECT carlog_u...')
#2 /data01/virt13778/domeenid/www.usaraud.ee/htdocs/index.php(145): require('/data01/virt137...')
#3 {main}
thrown in /data01/virt13778/domeenid/www.usaraud.ee/htdocs/class/mysql.class.php on line 135