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 '-175' at line 1
#0 [internal function]: PDOStatement->execute() #1 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->executePrepared() #2 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->query() #3 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect() #4 [internal function]: Phalcon\Mvc\Model\Query->execute() #5 /var/www/prod/app/controllers/EditoController.php(170): Phalcon\Mvc\Model::find() #6 /var/www/prod/app/controllers/EditoController.php(133): EditoController->getOrAssignNewsByType() #7 /var/www/prod/app/controllers/EditoController.php(98): EditoController->getOrAssignNews() #8 [internal function]: EditoController->newsAction() #9 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod() #10 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #11 /var/www/prod/public/index.php(50): Phalcon\Mvc\Application->handle() #12 {main}