Fatal error: Uncaught exception 'DBException' with message 'Your query has errors!
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 '' at line 1
select count(id_pp) as item from pp_catalog where sample=0 and id_catalog=' in /home/projects/pp/classes/DBController.class.php:120
#0 /home/projects/pp/classes/PP_catalog.class.php(26): DbController->getValue('select count(id...')
#1 /home/projects/pp/catalogs/print.php(15): PP_catalog->load()
thrown in /home/projects/pp/classes/DBController.class.php on line 120