Notice: Undefined offset: 0 in /home/v/valenciaru/public_html/application/models/ProductionModel.class.php on line 38

Notice: Undefined offset: 0 in /home/v/valenciaru/public_html/application/models/ProductionModel.class.php on line 38

Notice: Undefined offset: 0 in /home/v/valenciaru/public_html/application/models/ProductionModel.class.php on line 73
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 '' at line 1
#0 /home/v/valenciaru/public_html/libs/DBManager/DB.class.php(110): PDO->query('SELECT `groupID...') #1 /home/v/valenciaru/public_html/libs/DBManager/DB.class.php(182): DB::Query('SELECT `groupID...') #2 /home/v/valenciaru/public_html/application/models/ProductionModel.class.php(121): DB::QueryToArray('SELECT `groupID...') #3 /home/v/valenciaru/public_html/application/models/ProductionModel.class.php(73): ProductionModel->GetGroups(NULL) #4 /home/v/valenciaru/public_html/application/controllers/front/ProductionController.class.php(59): ProductionModel->GetGoods('chicshenye,-rez...') #5 /home/v/valenciaru/public_html/application/controllers/front/ProductionController.class.php(30): ProductionController->Group(Array) #6 /home/v/valenciaru/public_html/core/Application.class.php(149): ProductionController->Index(Array) #7 /home/v/valenciaru/public_html/core/Application.class.php(94): Application->Execute() #8 /home/v/valenciaru/public_html/application/CMSApplication.class.php(38): Application->Run() #9 /home/v/valenciaru/public_html/index.php(37): CMSApplication->Run() #10 {main}
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 '' at line 1' in /home/v/valenciaru/public_html/libs/DBManager/DB.class.php:110 Stack trace: #0 /home/v/valenciaru/public_html/libs/DBManager/DB.class.php(110): PDO->query('SELECT `groupID...') #1 /home/v/valenciaru/public_html/libs/DBManager/DB.class.php(182): DB::Query('SELECT `groupID...') #2 /home/v/valenciaru/public_html/application/models/ProductionModel.class.php(121): DB::QueryToArray('SELECT `groupID...') #3 /home/v/valenciaru/public_html/application/models/ProductionModel.class.php(73): ProductionModel->GetGroups(NULL) #4 /home/v/valenciaru/public_html/application/controllers/front/ProductionController.class.php(59): ProductionModel->GetGoods('chicshenye,-rez...') #5 /home/v/valenciaru/public_html/application/controllers/front/ProductionController.class.php(30): Pro in /home/v/valenciaru/public_html/libs/DBManager/DB.class.php on line 110