наверх

«Книга, изменившая меня»

Fatal error: Uncaught ActiveRecord\DatabaseException: PDOException: 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 in /web/composer/vendor/php-activerecord/php-activerecord/lib/Connection.php:333 Stack trace: #0 /web/composer/vendor/php-activerecord/php-activerecord/lib/Connection.php(333): PDOStatement->execute(Array) #1 /web/composer/vendor/php-activerecord/php-activerecord/lib/Table.php(237): ActiveRecord\Connection->query('SELECT * FROM `...', Array) #2 /web/composer/vendor/php-activerecord/php-activerecord/lib/Table.php(219): ActiveRecord\Table->find_by_sql('SELECT * FROM `...', Array, false, NULL) #3 /web/composer/vendor/php-activerecord/php-activerecord/lib/Model.php(1608): ActiveRecord\Table->find(Array) #4 [internal function]: ActiveRecord\Model::find('all', Array) #5 /web/composer/vendor/php-activerecord/php-activerecord/lib/Model.php(1436): call_user in /web/composer/vendor/php-activerecord/php-activerecord/lib/Connection.php on line 336