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,12' at line 1
#0 /var/www/app/stage/system/class/DB.php(36): PDOStatement->execute() #1 /var/www/app/stage/system/class/BaseModel.php(109): DB->query() #2 /var/www/app/stage/site/models/Blog.php(21): BaseModel::getFields() #3 /var/www/app/stage/site/views/ViewBlog.php(12): Blog::getNewsList() #4 /var/www/app/stage/system/class/TplEng.php(131): ViewBlog->handle() #5 /var/www/app/stage/site/App.php(52): TplEng->render() #6 /var/www/app/stage/system/class/flight/core/Dispatcher.php(190): App->{closure}() #7 /var/www/app/stage/system/class/flight/core/Dispatcher.php(163): flight\core\Dispatcher::callFunction() #8 /var/www/app/stage/system/class/flight/core/Dispatcher.php(141): flight\core\Dispatcher::execute() #9 /var/www/app/stage/system/class/flight/core/Dispatcher.php(58): flight\core\Dispatcher->filter() #10 /var/www/app/stage/system/class/flight/Engine.php(98): flight\core\Dispatcher->run() #11 /var/www/app/stage/system/class/flight/core/Dispatcher.php(219): flight\Engine->__call() #12 /var/www/app/stage/system/class/flight/Flight.php(97): flight\core\Dispatcher::invokeMethod() #13 /var/www/app/stage/site/App.php(56): Flight::__callStatic() #14 /var/www/app/stage/site/public/index.php(8): App->run() #15 {main}