SQLSTATE[2201X]: <>: 7 ERROR: OFFSET must not be negative
Array
(
    [0] => Array
        (
            [file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Statement.php
            [line] => 300
            [function] => _execute
            [class] => Zend_Db_Statement_Pdo
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [1] => Array
        (
            [file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Adapter/Abstract.php
            [line] => 479
            [function] => execute
            [class] => Zend_Db_Statement
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [2] => Array
        (
            [file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Adapter/Pdo/Abstract.php
            [line] => 238
            [function] => query
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT n.*,
                       f.path as ipath,
                       f2.path as apath
                  FROM portale.news as n
                  LEFT JOIN netring._tab_file AS f ON (n.immagine = f.cod_file)   
                  LEFT JOIN netring._tab_file AS f2 ON (n.allegati = f2.cod_file)   
                 WHERE pubblica IS true
                   AND tipo = 'Rassegna Stampa'
                   AND data_n <= current_date
                       
                 ORDER BY data_n DESC
                 LIMIT 25
                 OFFSET -25 
                        
                    [1] => Array
                        (
                        )

                )

        )

    [3] => Array
        (
            [file] => /opt/versions/ZendFramework-1.11.6-minimal/library/Zend/Db/Adapter/Abstract.php
            [line] => 734
            [function] => query
            [class] => Zend_Db_Adapter_Pdo_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT n.*,
                       f.path as ipath,
                       f2.path as apath
                  FROM portale.news as n
                  LEFT JOIN netring._tab_file AS f ON (n.immagine = f.cod_file)   
                  LEFT JOIN netring._tab_file AS f2 ON (n.allegati = f2.cod_file)   
                 WHERE pubblica IS true
                   AND tipo = 'Rassegna Stampa'
                   AND data_n <= current_date
                       
                 ORDER BY data_n DESC
                 LIMIT 25
                 OFFSET -25 
                        
                    [1] => Array
                        (
                        )

                )

        )

    [4] => Array
        (
            [file] => /www/new/oti/demo/pubblico/wre/library/PagePart/Rassegna.php
            [line] => 88
            [function] => fetchAll
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT n.*,
                       f.path as ipath,
                       f2.path as apath
                  FROM portale.news as n
                  LEFT JOIN netring._tab_file AS f ON (n.immagine = f.cod_file)   
                  LEFT JOIN netring._tab_file AS f2 ON (n.allegati = f2.cod_file)   
                 WHERE pubblica IS true
                   AND tipo = 'Rassegna Stampa'
                   AND data_n <= current_date
                       
                 ORDER BY data_n DESC
                 LIMIT 25
                 OFFSET -25 
                        
                )

        )

    [5] => Array
        (
            [file] => /www/new/oti/demo/pubblico/wre/library/PageComposer/PageComposer.php
            [line] => 139
            [function] => requestProcessing
            [class] => Rassegna
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [pag] => 0
                        )

                )

        )

    [6] => Array
        (
            [file] => /www/new/oti/demo/pubblico/wre/library/PageComposer/PageComposer.php
            [line] => 83
            [function] => runPageParts
            [class] => PageComposer
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [0] => Rassegna Object
                                (
                                    [db] => Zend_Db_Adapter_Pdo_Pgsql Object
                                        (
                                            [_pdoType:protected] => pgsql
                                            [_numericDataTypes:protected] => Array
                                                (
                                                    [0] => 0
                                                    [1] => 1
                                                    [2] => 2
                                                    [INTEGER] => 0
                                                    [SERIAL] => 0
                                                    [SMALLINT] => 0
                                                    [BIGINT] => 1
                                                    [BIGSERIAL] => 1
                                                    [DECIMAL] => 2
                                                    [DOUBLE PRECISION] => 2
                                                    [NUMERIC] => 2
                                                    [REAL] => 2
                                                )

                                            [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
                                            [_config:protected] => Array
                                                (
                                                    [host] => 127.0.0.1
                                                    [dbname] => otinordb
                                                    [username] => nr_admin
                                                    [password] => 
                                                    [port] => 5435
                                                    [charset] => 
                                                    [persistent] => 
                                                    [options] => Array
                                                        (
                                                            [caseFolding] => 0
                                                            [autoQuoteIdentifiers] => 1
                                                            [fetchMode] => 2
                                                        )

                                                    [driver_options] => Array
                                                        (
                                                        )

                                                )

                                            [_fetchMode:protected] => 2
                                            [_profiler:protected] => Zend_Db_Profiler Object
                                                (
                                                    [_queryProfiles:protected] => Array
                                                        (
                                                        )

                                                    [_enabled:protected] => 
                                                    [_filterElapsedSecs:protected] => 
                                                    [_filterTypes:protected] => 
                                                )

                                            [_defaultProfilerClass:protected] => Zend_Db_Profiler
                                            [_connection:protected] => PDO Object
                                                (
                                                )

                                            [_caseFolding:protected] => 0
                                            [_autoQuoteIdentifiers:protected] => 1
                                            [_allowSerialization:protected] => 1
                                            [_autoReconnectOnUnserialize:protected] => 
                                        )

                                    [name] => mainContent
                                    [pageReg:protected] => PageRegistry Object
                                        (
                                            [inPageScope] => Array
                                                (
                                                    [currentPageName] => 
                                                )

                                            [ZSession] => Zend_Session_Namespace Object
                                                (
                                                    [_namespace:protected] => ZScope
                                                )

                                        )

                                    [redirectioURL:protected] => 
                                    [config:protected] => Zend_Config_Xml Object
                                        (
                                            [_skipExtends:protected] => 
                                            [_allowModifications:protected] => 
                                            [_index:protected] => 0
                                            [_count:protected] => 2
                                            [_data:protected] => Array
                                                (
                                                    [arguments] => 
                                                    [templates] => Zend_Config Object
                                                        (
                                                            [_allowModifications:protected] => 
                                                            [_index:protected] => 0
                                                            [_count:protected] => 1
                                                            [_data:protected] => Array
                                                                (
                                                                    [index] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 3
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => it
                                                                                    [path] => it/pagepart/rassegna.tpl.htm
                                                                                    [default] => true
                                                                                )

                                                                            [_skipNextIteration:protected] => 
                                                                            [_loadedSection:protected] => 
                                                                            [_extends:protected] => Array
                                                                                (
                                                                                )

                                                                            [_loadFileErrorStr:protected] => 
                                                                        )

                                                                )

                                                            [_skipNextIteration:protected] => 
                                                            [_loadedSection:protected] => 
                                                            [_extends:protected] => Array
                                                                (
                                                                )

                                                            [_loadFileErrorStr:protected] => 
                                                        )

                                                )

                                            [_skipNextIteration:protected] => 
                                            [_loadedSection:protected] => private
                                            [_extends:protected] => Array
                                                (
                                                )

                                            [_loadFileErrorStr:protected] => 
                                        )

                                    [templateName:protected] => 
                                    [renderValues:protected] => Array
                                        (
                                            [e_mesi] => Array
                                                (
                                                    [5] => maggio
                                                    [11] => novembre
                                                    [1] => gennaio
                                                    [2] => febbraio
                                                    [3] => marzo
                                                    [9] => settembre
                                                    [4] => aprile
                                                    [6] => giugno
                                                    [10] => ottobre
                                                    [12] => dicembre
                                                    [7] => luglio
                                                    [8] => agosto
                                                )

                                            [e_anni] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [y] => 2015
                                                        )

                                                    [1] => Array
                                                        (
                                                            [y] => 2016
                                                        )

                                                    [2] => Array
                                                        (
                                                            [y] => 2017
                                                        )

                                                )

                                        )

                                    [args:protected] => Array
                                        (
                                        )

                                )

                            [1] => Meta Object
                                (
                                    [db] => Zend_Db_Adapter_Pdo_Pgsql Object
                                        (
                                            [_pdoType:protected] => pgsql
                                            [_numericDataTypes:protected] => Array
                                                (
                                                    [0] => 0
                                                    [1] => 1
                                                    [2] => 2
                                                    [INTEGER] => 0
                                                    [SERIAL] => 0
                                                    [SMALLINT] => 0
                                                    [BIGINT] => 1
                                                    [BIGSERIAL] => 1
                                                    [DECIMAL] => 2
                                                    [DOUBLE PRECISION] => 2
                                                    [NUMERIC] => 2
                                                    [REAL] => 2
                                                )

                                            [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
                                            [_config:protected] => Array
                                                (
                                                    [host] => 127.0.0.1
                                                    [dbname] => otinordb
                                                    [username] => nr_admin
                                                    [password] => 
                                                    [port] => 5435
                                                    [charset] => 
                                                    [persistent] => 
                                                    [options] => Array
                                                        (
                                                            [caseFolding] => 0
                                                            [autoQuoteIdentifiers] => 1
                                                            [fetchMode] => 2
                                                        )

                                                    [driver_options] => Array
                                                        (
                                                        )

                                                )

                                            [_fetchMode:protected] => 2
                                            [_profiler:protected] => Zend_Db_Profiler Object
                                                (
                                                    [_queryProfiles:protected] => Array
                                                        (
                                                        )

                                                    [_enabled:protected] => 
                                                    [_filterElapsedSecs:protected] => 
                                                    [_filterTypes:protected] => 
                                                )

                                            [_defaultProfilerClass:protected] => Zend_Db_Profiler
                                            [_connection:protected] => PDO Object
                                                (
                                                )

                                            [_caseFolding:protected] => 0
                                            [_autoQuoteIdentifiers:protected] => 1
                                            [_allowSerialization:protected] => 1
                                            [_autoReconnectOnUnserialize:protected] => 
                                        )

                                    [name] => meta
                                    [pageReg:protected] => PageRegistry Object
                                        (
                                            [inPageScope] => Array
                                                (
                                                    [currentPageName] => 
                                                )

                                            [ZSession] => Zend_Session_Namespace Object
                                                (
                                                    [_namespace:protected] => ZScope
                                                )

                                        )

                                    [redirectioURL:protected] => 
                                    [config:protected] => Zend_Config_Xml Object
                                        (
                                            [_skipExtends:protected] => 
                                            [_allowModifications:protected] => 
                                            [_index:protected] => 0
                                            [_count:protected] => 2
                                            [_data:protected] => Array
                                                (
                                                    [arguments] => 
                                                    [templates] => Zend_Config Object
                                                        (
                                                            [_allowModifications:protected] => 
                                                            [_index:protected] => 0
                                                            [_count:protected] => 1
                                                            [_data:protected] => Array
                                                                (
                                                                    [interna] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 2
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => it
                                                                                    [path] => it/pagepart/meta.tpl.htm
                                                                                )

                                                                            [_skipNextIteration:protected] => 
                                                                            [_loadedSection:protected] => 
                                                                            [_extends:protected] => Array
                                                                                (
                                                                                )

                                                                            [_loadFileErrorStr:protected] => 
                                                                        )

                                                                )

                                                            [_skipNextIteration:protected] => 
                                                            [_loadedSection:protected] => 
                                                            [_extends:protected] => Array
                                                                (
                                                                )

                                                            [_loadFileErrorStr:protected] => 
                                                        )

                                                )

                                            [_skipNextIteration:protected] => 
                                            [_loadedSection:protected] => private
                                            [_extends:protected] => Array
                                                (
                                                )

                                            [_loadFileErrorStr:protected] => 
                                        )

                                    [templateName:protected] => 
                                    [renderValues:protected] => Array
                                        (
                                        )

                                    [args:protected] => Array
                                        (
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [pag] => 0
                        )

                )

        )

    [7] => Array
        (
            [file] => /www/new/oti/demo/pubblico/wre/WebRenderEngine.php
            [line] => 204
            [function] => renderPage
            [class] => PageComposer
            [type] => ->
            [args] => Array
                (
                    [0] => 
                    [1] => Array
                        (
                            [pag] => 0
                        )

                )

        )

    [8] => Array
        (
            [file] => /www/new/oti/demo/pubblico/wre/WebRenderEngine.php
            [line] => 62
            [function] => processRequest
            [class] => WebRenderEngine
            [type] => ->
            [args] => Array
                (
                )

        )

    [9] => Array
        (
            [file] => /www/new/oti/demo/pubblico/wre/WebRenderEngine.php
            [line] => 133
            [function] => __construct
            [class] => WebRenderEngine
            [type] => ->
            [args] => Array
                (
                    [0] => main.xml
                )

        )

    [10] => Array
        (
            [file] => /www/new/oti/demo/pubblico/portale/index.php
            [line] => 141
            [function] => bootstrap
            [class] => WebRenderEngine
            [type] => ::
            [args] => Array
                (
                )

        )

)