ERROR !; PDOException Object ( [message:protected] => 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 '-24' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /var/www/html/classes/Category.php [line:protected] => 157 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/html/classes/Category.php [line] => 157 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/includes/game_list.php [line] => 23 [function] => getListByCategory [class] => Category [type] => :: [args] => Array ( [0] => 9 [1] => 24 [2] => -24 ) ) [2] => Array ( [file] => /var/www/html/index.php [line] => 41 [function] => get_game_list_category [args] => Array ( [0] => Casino [1] => 24 [2] => -24 ) ) [3] => Array ( [file] => /var/www/html/index.php [line] => 13 [function] => archive [args] => Array ( ) ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => 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 '-24' at line 1 ) [xdebug_message] => ( ! ) 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 '-24' at line 1 in /var/www/html/classes/Category.php on line 157 Call Stack #TimeMemoryFunctionLocation 10.0001371448{main}( ).../index.php:0 20.0018377456archive( ).../index.php:13 30.0052378376get_game_list_category( ).../index.php:41 40.0079378408Category::getListByCategory( ).../game_list.php:23 50.0117391384execute ( ).../Category.php:157 )