(1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL 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] => 5.5.44-MariaDB
                            [client_version] => 50544
                            [connect_errno] => 0
                            [connect_error] => 
                            [errno] => 1064
                            [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL 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 MySQL 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.6.28-76.1
                            [server_version] => 50628
                            [stat] => Uptime: 27336065  Threads: 12  Questions: 10918844586  Slow queries: 7096  Opens: 406848852  Flush tables: 1  Open tables: 4000  Queries per second avg: 399.430
                            [sqlstate] => 00000
                            [protocol_version] => 10
                            [thread_id] => 247729888
                            [warning_count] => 0
                        )

                    [lastQuery:Database:private] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1480720260 ORDER BY SC3 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 > 1480720260 ORDER BY SC3 DESC LIMIT -30,30

                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1480720260 ORDER BY SC3 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] => 5.5.44-MariaDB
                                    [client_version] => 50544
                                    [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.6.28-76.1
                                    [server_version] => 50628
                                    [stat] => Uptime: 27336065  Threads: 12  Questions: 10918844587  Slow queries: 7096  Opens: 406848852  Flush tables: 1  Open tables: 4000  Queries per second avg: 399.430
                                    [sqlstate] => 00000
                                    [protocol_version] => 10
                                    [thread_id] => 247729888
                                    [warning_count] => 0
                                )

                            [lastQuery:Database:private] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1480720260 ORDER BY SC3 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 > 1480720260 ORDER BY SC3 DESC LIMIT -30,30

                        )

                    [1] => SELECT * FROM `clans` WHERE `tag` <> '' AND `region` = 1 AND updated_at > 1480720260 ORDER BY SC3 DESC LIMIT -30,30
                )

        )

)