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 ' 'null', 'quote','smart','["1623"]','["1624","1625","1626","1627","1628"]','[...' at line 1 INSERT INTO `dtbible_bible`.`sessions` (`id`, `user`, `set`,`type`,`source`,`current`,`deck`,`done`, `created`, `lastused`) VALUES (NULL, , 'null', 'quote','smart','["1623"]','["1624","1625","1626","1627","1628"]','[]',CURRENT_TIMESTAMP,CURRENT_TIMESTAMP)