(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 '-30,30' at line 1 LINE: 67 in /home/users/zaffre/wotcs.com/web/config/database.php TRACE:
Array ( [0] => Array ( [file] => /home/users/zaffre/wotcs.com/web/models/base.php [line] => 155 [function] => query [class] => Database [object] => Database Object ( [mysqli] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ [client_version] => 50011 [connect_errno] => 0 [connect_error] => [errno] => 1064 [error] => 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 '-30,30' at line 1 [error_list] => Array ( [0] => Array ( [errno] => 1064 [sqlstate] => 42000 [error] => 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 '-30,30' at line 1 ) ) [field_count] => 0 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.5-10.3.35-MariaDB [server_version] => 50505 [stat] => Uptime: 35429694 Threads: 16 Questions: 14793385112 Slow queries: 21894 Opens: 408400379 Flush tables: 1 Open tables: 12000 Queries per second avg: 417.541 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 279969433 [warning_count] => 0 ) [lastQuery:Database:private] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1695375994 ORDER BY WN7 DESC LIMIT -30,30 [saveLog] => [logFile] => /home/users/zaffre/wotcs.com/web/config/../log/db.txt [log] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1695375994 ORDER BY WN7 DESC LIMIT -30,30 ) [type] => -> [args] => Array ( [0] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1695375994 ORDER BY WN7 DESC LIMIT -30,30 ) ) [1] => Array ( [file] => /home/users/zaffre/wotcs.com/web/clans.php [line] => 25 [function] => sql [class] => BaseModel [type] => :: [args] => Array ( [0] => Database Object ( [mysqli] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $ [client_version] => 50011 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 0 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.5-10.3.35-MariaDB [server_version] => 50505 [stat] => Uptime: 35429694 Threads: 16 Questions: 14793385112 Slow queries: 21894 Opens: 408400379 Flush tables: 1 Open tables: 12000 Queries per second avg: 417.541 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 279969433 [warning_count] => 0 ) [lastQuery:Database:private] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1695375994 ORDER BY WN7 DESC LIMIT -30,30 [saveLog] => [logFile] => /home/users/zaffre/wotcs.com/web/config/../log/db.txt [log] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1695375994 ORDER BY WN7 DESC LIMIT -30,30 ) [1] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1695375994 ORDER BY WN7 DESC LIMIT -30,30 ) ) )