Zend_Db_Statement_Exception Object
(
    [_previous:Zend_Exception:private] => 
    [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 '-20' at line 14, query was: 
            SELECT
                 c.comment_id
                ,c.comment_parent_id
                ,c.item_id
                ,c.comment_type
                ,c.lang_id
                ,c.user_id
                ,c.comment
                ,c.created_date
            FROM
                v_comments c
            WHERE c.lang_id = :lang_id
            ORDER BY c.created_date DESC
            LIMIT 20 OFFSET -20
        
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Statement/Pdo.php
    [line:protected] => 235
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Statement.php
                    [line] => 303
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Adapter/Abstract.php
                    [line] => 739
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/library/Comment/List.php
                    [line] => 111
                    [function] => fetchAll
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/application/modules/default/controllers/DiscussionController.php
                    [line] => 27
                    [function] => load
                    [class] => Comment_List
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Controller/Action.php
                    [line] => 516
                    [function] => listAction
                    [class] => DiscussionController
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Controller/Dispatcher/Standard.php
                    [line] => 308
                    [function] => dispatch
                    [class] => Zend_Controller_Action
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Controller/Front.php
                    [line] => 954
                    [function] => dispatch
                    [class] => Zend_Controller_Dispatcher_Standard
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/index.php
                    [line] => 265
                    [function] => dispatch
                    [class] => Zend_Controller_Front
                    [type] => ->
                )

        )

    [previous:Exception:private] => 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 '-20' at line 14
            [string:Exception:private] => 
            [code:protected] => 42000
            [file:protected] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Statement/Pdo.php
            [line:protected] => 228
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Statement/Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                        )

                    [1] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Statement.php
                            [line] => 303
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                        )

                    [2] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Adapter/Abstract.php
                            [line] => 480
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                        )

                    [3] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                        )

                    [4] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Db/Adapter/Abstract.php
                            [line] => 739
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                        )

                    [5] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/library/Comment/List.php
                            [line] => 111
                            [function] => fetchAll
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                        )

                    [6] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/application/modules/default/controllers/DiscussionController.php
                            [line] => 27
                            [function] => load
                            [class] => Comment_List
                            [type] => ->
                        )

                    [7] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Controller/Action.php
                            [line] => 516
                            [function] => listAction
                            [class] => DiscussionController
                            [type] => ->
                        )

                    [8] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Controller/Dispatcher/Standard.php
                            [line] => 308
                            [function] => dispatch
                            [class] => Zend_Controller_Action
                            [type] => ->
                        )

                    [9] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/bart/zf1/library/Zend/Controller/Front.php
                            [line] => 954
                            [function] => dispatch
                            [class] => Zend_Controller_Dispatcher_Standard
                            [type] => ->
                        )

                    [10] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/index.php
                            [line] => 265
                            [function] => dispatch
                            [class] => Zend_Controller_Front
                            [type] => ->
                        )

                )

            [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 '-20' at line 14
                )

        )

)