Notice: Undefined property: FMGoods::$GetVisibilityPart in /protected/modules/frontend/FMGoods.php on line 1522

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 'gp').' WHERE `g`.`status` = 1 AND `c`.`status` = 1 A' at line 9' in /protected/lib/FW/Helper/Model.php:26 Stack trace: #0 /protected/lib/FW/Helper/Model.php(26): PDOStatement->execute(Array) #1 /protected/modules/frontend/FMGoods.php(1524): FW_Helper_Model->Find('SELECT COUNT(DI...', Array, 'column') #2 [internal function]: FMGoods->ListSuggestedAction() #3 /protected/lib/FW/Controller.php(225): call_user_func(Array) #4 /index.php(21): FW_Controller->Dispatch() #5 {main} thrown in /protected/lib/FW/Helper/Model.php on line 26