PhalconException : happened in PDOException class
ExceptionMessage : 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 '-12' at line 1
File=/www/wwwroot/wwwpai/dayinpai/apps/commons/models/Model.php Line=135
#0 [internal function]: PDOStatement->execute()
#1 [internal function]: Phalcon\Db\Adapter\Pdo->executePrepared(Object(PDOStatement), Array, Array)
#2 [internal function]: Phalcon\Db\Adapter\Pdo->query('SELECT `model`....', Array, Array)
#3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, Array)
#4 [internal function]: Phalcon\Mvc\Model\Query->execute()
#5 /www/wwwroot/wwwpai/dayinpai/apps/commons/models/Model.php(135): Phalcon\Mvc\Model::find(Array)
#6 /www/wwwroot/wwwpai/dayinpai/apps/frontend/controllers/UserController.php(158): Apps\Commons\Models\Model->getList(Array)
#7 [internal function]: Apps\Frontend\Controllers\UserController->indexAction('manting369', 'images', 'defaultimg.jpg')
#8 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Apps\Frontend\Controllers\UserController), 'indexAction', Array)
#9 [internal function]: Phalcon\Dispatcher->dispatch()
#10 /www/wwwroot/wwwpai/dayinpai/public/index.php(82): Phalcon\Mvc\Application->handle()
#11 {main}