think\db\exception\PDOException Object
(
    [data:protected] => Array
        (
            [PDO Error Info] => Array
                (
                    [SQLSTATE] => 42000
                    [Driver Error Code] => 1064
                    [Driver Error Message] => 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 '-10,10' at line 1
                )

            [Database Status] => Array
                (
                    [Error Code] => 10501
                    [Error Message] => SQLSTATE[42000]: Syntax error or access violation: 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 '-10,10' at line 1
                    [Error SQL] => SELECT * FROM `pd_cmscontent` WHERE  `type` = 'NEWS'  AND `type_code` = '/home_portal?page=0&typeId=12' ORDER BY `id` DESC LIMIT -10,10
                )

            [Database Config] => Array
                (
                    [type] => mysql
                    [hostname] => 8.140.188.68
                    [database] => fagao_pindarpr_c
                    [hostport] => 
                    [dsn] => 
                    [params] => Array
                        (
                        )

                    [charset] => utf8mb4
                    [prefix] => pd_
                    [deploy] => 0
                    [rw_separate] => 
                    [master_num] => 1
                    [slave_no] => 
                    [read_master] => 
                    [fields_strict] => 1
                    [fields_cache] => 
                    [trigger_sql] => 1
                    [builder] => 
                    [query] => 
                    [break_reconnect] => 1
                    [break_match_str] => Array
                        (
                        )

                    [debug] => 
                )

        )

    [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 MySQL server version for the right syntax to use near '-10,10' at line 1
    [string:Exception:private] => 
    [code:protected] => 10501
    [file:protected] => /data/www/pinda/vendor/topthink/think-orm/src/db/PDOConnection.php
    [line:protected] => 797
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /data/www/pinda/vendor/topthink/think-orm/src/db/PDOConnection.php
                    [line] => 710
                    [function] => getPDOStatement
                    [class] => think\db\PDOConnection
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /data/www/pinda/vendor/topthink/think-orm/src/db/PDOConnection.php
                    [line] => 922
                    [function] => pdoQuery
                    [class] => think\db\PDOConnection
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /data/www/pinda/vendor/topthink/think-orm/src/db/BaseQuery.php
                    [line] => 1125
                    [function] => select
                    [class] => think\db\PDOConnection
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /data/www/pinda/APP/library/tools/ListUtils.php
                    [line] => 11
                    [function] => select
                    [class] => think\db\BaseQuery
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /data/www/pinda/APP/controllers/Home/Portal.php
                    [line] => 1323
                    [function] => page
                    [class] => tools\ListUtils
                    [type] => ::
                )

            [5] => Array
                (
                    [function] => NewsAction
                    [class] => Home_PortalController
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => /data/www/pinda/public/index.php
                    [line] => 27
                    [function] => run
                    [class] => Yaf_Application
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
)