SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "" LINE 5: WHERE e.contenuto = '' ^, query was: SELECT e.*, f.path FROM portale.elemento as e LEFT JOIN netring._tab_file AS f ON e.immagine = f.cod_file WHERE e.contenuto = '' AND e.pubblica AND e.tipo != 23 AND e.visibilita <= 1 and (e.scadenza is NULL or e.scadenza > current_date) ORDER BY e.posizione
Array
(
    [0] => Array
        (
            [file] => /usr/share/php/Zend/Db/Statement.php
            [line] => 303
            [function] => _execute
            [class] => Zend_Db_Statement_Pdo
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [1] => Array
        (
            [file] => /usr/share/php/Zend/Db/Adapter/Abstract.php
            [line] => 480
            [function] => execute
            [class] => Zend_Db_Statement
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [2] => Array
        (
            [file] => /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php
            [line] => 238
            [function] => query
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT e.*,
							 f.path
					FROM portale.elemento as e 
			         LEFT JOIN netring._tab_file AS f ON e.immagine = f.cod_file       
			      WHERE e.contenuto = ''	   
				      AND e.pubblica
					  AND e.tipo != 23
					  AND e.visibilita <= 1
					  and (e.scadenza is NULL or e.scadenza > current_date)
				  ORDER BY e.posizione						   
                    [1] => Array
                        (
                        )

                )

        )

    [3] => Array
        (
            [file] => /usr/share/php/Zend/Db/Adapter/Abstract.php
            [line] => 737
            [function] => query
            [class] => Zend_Db_Adapter_Pdo_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT e.*,
							 f.path
					FROM portale.elemento as e 
			         LEFT JOIN netring._tab_file AS f ON e.immagine = f.cod_file       
			      WHERE e.contenuto = ''	   
				      AND e.pubblica
					  AND e.tipo != 23
					  AND e.visibilita <= 1
					  and (e.scadenza is NULL or e.scadenza > current_date)
				  ORDER BY e.posizione						   
                    [1] => Array
                        (
                        )

                )

        )

    [4] => Array
        (
            [file] => /var/www/loescher.it/wre/library/PagePart/PagePartMain.php
            [line] => 35
            [function] => fetchAll
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => SELECT e.*,
							 f.path
					FROM portale.elemento as e 
			         LEFT JOIN netring._tab_file AS f ON e.immagine = f.cod_file       
			      WHERE e.contenuto = ''	   
				      AND e.pubblica
					  AND e.tipo != 23
					  AND e.visibilita <= 1
					  and (e.scadenza is NULL or e.scadenza > current_date)
				  ORDER BY e.posizione						   
                )

        )

    [5] => Array
        (
            [file] => /var/www/loescher.it/wre/library/PagePart/Contenuto.php
            [line] => 256
            [function] => getElementi
            [class] => PagePartMain
            [type] => ->
            [args] => Array
                (
                    [0] => contenuto
                    [1] => 
                    [2] => Array
                        (
                        )

                )

        )

    [6] => Array
        (
            [file] => /var/www/loescher.it/wre/library/PageComposer/PageComposer.php
            [line] => 139
            [function] => requestProcessing
            [class] => Contenuto
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [7] => Array
        (
            [file] => /var/www/loescher.it/wre/library/PageComposer/PageComposer.php
            [line] => 83
            [function] => runPageParts
            [class] => PageComposer
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [0] => Contenuto 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] => loescherdb2019
                                                    [username] => nr_admin
                                                    [password] => ciFIll2etK2g5e8b6WFe
                                                    [port] => 5432
                                                    [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
                                                                (
                                                                    [header] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 3
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => it
                                                                                    [path] => it/pagepart/super.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
                                        (
                                            [attivo] => 
                                            [sito] => https://edusport.loescher.it
                                            [url] => /edusport-appunti-di-anatomia
                                        )

                                    [args:protected] => Array
                                        (
                                        )

                                )

                            [1] => Header 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] => loescherdb2019
                                                    [username] => nr_admin
                                                    [password] => ciFIll2etK2g5e8b6WFe
                                                    [port] => 5432
                                                    [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] => header
                                    [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] => 2
                                                            [_data:protected] => Array
                                                                (
                                                                    [p404] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 3
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => it
                                                                                    [path] => it/pagepart/header.tpl.htm
                                                                                    [default] => true
                                                                                )

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

                                                                            [_loadFileErrorStr:protected] => 
                                                                        )

                                                                    [plus] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 2
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => it
                                                                                    [path] => it/pagepart/header-plus.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
                                        (
                                        )

                                )

                            [2] => Footer 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] => loescherdb2019
                                                    [username] => nr_admin
                                                    [password] => ciFIll2etK2g5e8b6WFe
                                                    [port] => 5432
                                                    [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] => footer
                                    [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
                                                                (
                                                                    [p404] => Zend_Config Object
                                                                        (
                                                                            [_allowModifications:protected] => 
                                                                            [_index:protected] => 0
                                                                            [_count:protected] => 3
                                                                            [_data:protected] => Array
                                                                                (
                                                                                    [loc] => it
                                                                                    [path] => it/pagepart/footer.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
                                        (
                                        )

                                    [args:protected] => Array
                                        (
                                        )

                                )

                            [3] => 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] => loescherdb2019
                                                    [username] => nr_admin
                                                    [password] => ciFIll2etK2g5e8b6WFe
                                                    [port] => 5432
                                                    [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
                                                                (
                                                                    [header] => 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
                        (
                        )

                )

        )

    [8] => Array
        (
            [file] => /var/www/loescher.it/wre/WebRenderEngine.php
            [line] => 204
            [function] => renderPage
            [class] => PageComposer
            [type] => ->
            [args] => Array
                (
                    [0] => 
                    [1] => Array
                        (
                        )

                )

        )

    [9] => Array
        (
            [file] => /var/www/loescher.it/wre/WebRenderEngine.php
            [line] => 62
            [function] => processRequest
            [class] => WebRenderEngine
            [type] => ->
            [args] => Array
                (
                )

        )

    [10] => Array
        (
            [file] => /var/www/loescher.it/wre/WebRenderEngine.php
            [line] => 133
            [function] => __construct
            [class] => WebRenderEngine
            [type] => ->
            [args] => Array
                (
                    [0] => main.xml
                )

        )

    [11] => Array
        (
            [file] => /var/www/loescher.it/portale/index.php
            [line] => 140
            [function] => bootstrap
            [class] => WebRenderEngine
            [type] => ::
            [args] => Array
                (
                )

        )

)