Fatal error: Uncaught exception Exception with message Query error: 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 'OR c.pcategory =' at line 1 (SELECT id,title,title_slug,color,pcategory FROM qtl_catalog_categories c WHERE c.id= OR c.pcategory = ) thrown in /home/a1quante/www/system/libraries/Database.php on line 642
#0 /home/a1quante/www/system/libraries/Database.php(189): Database_Statement->query('SELECT id,title...')
#1 /home/a1quante/www/system/modules/qtl_catalog/ModuleCatalog.php(20): Database->query('SELECT id,title...')
#2 /home/a1quante/www/system/modules/frontend/Module.php(140): ModuleCatalog->compile()
#3 /home/a1quante/www/system/libraries/Controller.php(271): Module->generate()
#4 /home/a1quante/www/system/modules/frontend/PageRegular.php(71): Controller->getFrontendModule('12', 'main')
#5 /home/a1quante/www/index.php(198): PageRegular->generate(Object(DB_Mysql_Result))
#6 /home/a1quante/www/index.php(333): Index->run()
#7 {main}