Fatal error: Uncaught Database_Exception [ 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 '' at line 1 [ SELECT * FROM `photos` WHERE `id` = ] ~ MODPATH/database/classes/kohana/database/mysql.php [ 174 ] thrown in /home/pulawskipx/ftp/domains/panel.pok-ter.pl/public_html/modules/database/classes/kohana/database/mysql.php on line 174