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=1 and id_catalog=' in /home/projects/pp/classes/DBController.class.php:120 Stack trace: #0 /home/projects/pp/classes/PP_catalog.class.php(45): DbController->getValue('select count(id...') #1 /home/projects/pp/catalogs/display.php(15): PP_catalog->loadSamples() #2 {main} thrown in /home/projects/pp/classes/DBController.class.php on line 120