System_Db_MySQL_Exception 'Query error while executing: 

            SELECT * FROM `categories`
                LEFT JOIN `shop_url` ON `categories`.`id` = `shop_url`.`object_id` AND `shop_url`.`object_type` = 0
                LEFT JOIN `products` ON `categories`.`id` = `products`.`category_id`
            WHERE `categories`.`id`=
 Mysql 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 '' at line 4 Error number: 1064' in /home/panicom/public_html/System/Db/MySQL/Mysql.class.php(67)
#0 /home/panicom/public_html/Module/Shop/Controller.class.php(157): System_Db_MySQL_Mysql->execQuery('\n            SE...')
#1 /home/panicom/public_html/Module/Shop/Controller.class.php(33): Module_Shop_Controller->getCategoryById(NULL)
#2 /home/panicom/public_html/Module/Shop/Controller.class.php(174): Module_Shop_Controller->view(Array)
#3 /home/panicom/public_html/Module/Shop/Controller.class.php(21): Module_Shop_Controller->viewProduct(Array)
#4 [internal function]: Module_Shop_Controller->index(Array)
#5 /home/panicom/public_html/Module/Controller.class.php(27): call_user_func_array(Array, Array)
#6 /home/panicom/public_html/System.class.php(32): Module_Controller->run()
#7 /home/panicom/public_html/index.php(9): System->run()
#8 {main}