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/zendframework/zendframework1/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/zendframework/zendframework1/library/Zend/Db/Statement.php
                    [line] => 303
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [:lang_id] => sk
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [:lang_id] => sk
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
            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
        
                            [1] => Array
                                (
                                    [:lang_id] => sk
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php
                    [line] => 737
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
            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
        
                            [1] => Array
                                (
                                    [:lang_id] => sk
                                )

                        )

                )

            [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] => ->
                    [args] => Array
                        (
                            [0] => 
            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
        
                            [1] => Array
                                (
                                    [:lang_id] => sk
                                )

                        )

                )

            [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] => ->
                    [args] => Array
                        (
                            [0] => 20
                            [1] => -20
                            [2] => 1
                        )

                )

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

                )

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

                )

            [8] => Array
                (
                    [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php
                    [line] => 954
                    [function] => dispatch
                    [class] => Zend_Controller_Dispatcher_Standard
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Bart_Controller_Request_Http Object
                                (
                                    [_paramSources:protected] => Array
                                        (
                                            [0] => _GET
                                            [1] => _POST
                                        )

                                    [_requestUri:protected] => /discussion/list/?offset=-20
                                    [_baseUrl:protected] => 
                                    [_basePath:protected] => 
                                    [_pathInfo:protected] => discussion/list
                                    [_params:protected] => Array
                                        (
                                            [controller] => discussion
                                            [action] => list
                                            [module] => default
                                            [url] => discussion/list
                                        )

                                    [_rawBody:protected] => 
                                    [_aliases:protected] => Array
                                        (
                                        )

                                    [_dispatched:protected] => 1
                                    [_module:protected] => default
                                    [_moduleKey:protected] => module
                                    [_controller:protected] => discussion
                                    [_controllerKey:protected] => controller
                                    [_action:protected] => list
                                    [_actionKey:protected] => action
                                )

                            [1] => Zend_Controller_Response_Http Object
                                (
                                    [_body:protected] => Array
                                        (
                                        )

                                    [_exceptions:protected] => Array
                                        (
                                        )

                                    [_headers:protected] => Array
                                        (
                                        )

                                    [_headersRaw:protected] => Array
                                        (
                                        )

                                    [_httpResponseCode:protected] => 200
                                    [_isRedirect:protected] => 
                                    [_renderExceptions:protected] => 
                                    [headersSentThrowsException] => 1
                                )

                        )

                )

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

                )

        )

    [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/zendframework/zendframework1/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/zendframework/zendframework1/library/Zend/Db/Statement/Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [:lang_id] => sk
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Db/Statement.php
                            [line] => 303
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [:lang_id] => sk
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php
                            [line] => 480
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [:lang_id] => sk
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 
            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
        
                                    [1] => Array
                                        (
                                            [:lang_id] => sk
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php
                            [line] => 737
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 
            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
        
                                    [1] => Array
                                        (
                                            [:lang_id] => sk
                                        )

                                )

                        )

                    [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] => ->
                            [args] => Array
                                (
                                    [0] => 
            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
        
                                    [1] => Array
                                        (
                                            [:lang_id] => sk
                                        )

                                )

                        )

                    [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] => ->
                            [args] => Array
                                (
                                    [0] => 20
                                    [1] => -20
                                    [2] => 1
                                )

                        )

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

                        )

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

                        )

                    [9] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php
                            [line] => 954
                            [function] => dispatch
                            [class] => Zend_Controller_Dispatcher_Standard
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Bart_Controller_Request_Http Object
                                        (
                                            [_paramSources:protected] => Array
                                                (
                                                    [0] => _GET
                                                    [1] => _POST
                                                )

                                            [_requestUri:protected] => /discussion/list/?offset=-20
                                            [_baseUrl:protected] => 
                                            [_basePath:protected] => 
                                            [_pathInfo:protected] => discussion/list
                                            [_params:protected] => Array
                                                (
                                                    [controller] => discussion
                                                    [action] => list
                                                    [module] => default
                                                    [url] => discussion/list
                                                )

                                            [_rawBody:protected] => 
                                            [_aliases:protected] => Array
                                                (
                                                )

                                            [_dispatched:protected] => 1
                                            [_module:protected] => default
                                            [_moduleKey:protected] => module
                                            [_controller:protected] => discussion
                                            [_controllerKey:protected] => controller
                                            [_action:protected] => list
                                            [_actionKey:protected] => action
                                        )

                                    [1] => Zend_Controller_Response_Http Object
                                        (
                                            [_body:protected] => Array
                                                (
                                                )

                                            [_exceptions:protected] => Array
                                                (
                                                )

                                            [_headers:protected] => Array
                                                (
                                                )

                                            [_headersRaw:protected] => Array
                                                (
                                                )

                                            [_httpResponseCode:protected] => 200
                                            [_isRedirect:protected] => 
                                            [_renderExceptions:protected] => 
                                            [headersSentThrowsException] => 1
                                        )

                                )

                        )

                    [10] => Array
                        (
                            [file] => /home/users/ulpianus.sk/www.ulpianus.sk/www/index.php
                            [line] => 256
                            [function] => dispatch
                            [class] => Zend_Controller_Front
                            [type] => ->
                            [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 '-20' at line 14
                )

        )

)