SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-12' at line 1
#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 `chanel`...', Array, Array) #3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, Array) #4 [internal function]: Phalcon\Mvc\Model\Query->execute() #5 /home/kientruc/public_html/app/models/Chanel.php(67): Phalcon\Mvc\Model::find(Array) #6 /home/kientruc/public_html/app/controllers/ServiceController.php(271): Chanel::find(Array) #7 [internal function]: ServiceController->videoAction() #8 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(ServiceController), 'videoAction', Array) #9 [internal function]: Phalcon\Dispatcher->dispatch() #10 /home/kientruc/public_html/index.php(41): Phalcon\Mvc\Application->handle() #11 {main}c