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] => 14 [1] => 24 [2] => -24 ) ) [2] => Array ( [file] => /var/www/html/index.php [line] => 41 [function] => get_game_list_category [args] => Array ( [0] => Sports [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] =>