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
            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 3 Error number: 1064' in /home/designea/public_html/System/Db/MySQL/Mysql.class.php(67)
#0 /home/designea/public_html/Module/Shop/Base.class.php(178): System_Db_MySQL_Mysql->execQuery('\r\n            S...')
#1 /home/designea/public_html/Module/Shop/Controller.class.php(42): Module_Shop_Base->getCategoryById(NULL)
#2 /home/designea/public_html/Module/Shop/Controller.class.php(125): Module_Shop_Controller->view(Array)
#3 /home/designea/public_html/Module/Shop/Controller.class.php(29): Module_Shop_Controller->viewProduct(Array)
#4 /home/designea/public_html/Module/Shop/Controller.class.php(91): Module_Shop_Controller->index(Array)
#5 /home/designea/public_html/Module/Shop/Controller.class.php(82): Module_Shop_Controller->promoProducts(Array)
#6 [internal function]: Module_Shop_Controller->prodottiPromo(Array)
#7 /home/designea/public_html/Module/Controller.class.php(27): call_user_func_array(Array, Array)
#8 /home/designea/public_html/System.class.php(32): Module_Controller->run()
#9 /home/designea/public_html/index.php(8): System->run()
#10 {main}