Fatal error: Uncaught mysqli_sql_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 s.`GroupID`=3258 AND s.`WebID`=1
ORDER by s.`TableID` DESC
LIMIT 0,1' at line 2 in /data/6/5/65f88749-7b80-431c-850e-60b78b474049/etiketka.sk/web/SYS_functions.php:1150
Stack trace:
#0 /data/6/5/65f88749-7b80-431c-850e-60b78b474049/etiketka.sk/web/SYS_functions.php(1150): mysqli_query(Object(mysqli), 'SELECT s.`ID` F...')
#1 /data/6/5/65f88749-7b80-431c-850e-60b78b474049/etiketka.sk/web/SYS_functions.php(723): SELECT_TO_ARRAY('SELECT s.`ID` F...')
#2 /data/6/5/65f88749-7b80-431c-850e-60b78b474049/etiketka.sk/web/index.php(67): RETURN_ID_metafile_from_groupID(3258, 14, '', 1)
#3 {main}
thrown in /data/6/5/65f88749-7b80-431c-850e-60b78b474049/etiketka.sk/web/SYS_functions.php on line 1150