An error occurred in script '/srv/domini/britishinstitute.it/www/inc/php/funcs.php' on line 239: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given
Date/Time: 12-12-2019 04:21:01
Array
(
    [pag] => 
    [dbc] => mysqli Object
        (
            [affected_rows] => -1
            [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
            [client_version] => 50012
            [connect_errno] => 0
            [connect_error] => 
            [errno] => 1064
            [error] => 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 'ORDER BY pgbOrdine' at line 1
            [error_list] => Array
                (
                    [0] => Array
                        (
                            [errno] => 1064
                            [sqlstate] => 42000
                            [error] => 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 'ORDER BY pgbOrdine' at line 1
                        )

                )

            [field_count] => 24
            [host_info] => 192.168.100.3 via TCP/IP
            [info] => 
            [insert_id] => 0
            [server_info] => 5.5.5-10.0.36-MariaDB-0ubuntu0.16.04.1
            [server_version] => 100036
            [stat] => Uptime: 27309174  Threads: 10  Questions: 692115151  Slow queries: 33305202  Opens: 6812558  Flush tables: 1  Open tables: 400  Queries per second avg: 25.343
            [sqlstate] => 00000
            [protocol_version] => 10
            [thread_id] => 34838535
            [warning_count] => 0
        )

    [retVal] => 
    [ban_q] => SELECT * FROM tblpagine_banner WHERE pgnId =  ORDER BY pgbOrdine
    [ban_s] => 
)

#0  my_error_handler(2, mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given, /srv/domini/britishinstitute.it/www/inc/php/funcs.php, 239, Array ([pag] => ,[dbc] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[retVal] => ,[ban_q] => SELECT * FROM tblpagine_banner WHERE pgnId =  ORDER BY pgbOrdine,[ban_s] => ))
#1  mysqli_num_rows() called at [/srv/domini/britishinstitute.it/www/inc/php/funcs.php:239]
#2  np_page_banner(, mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => )) called at [/srv/domini/britishinstitute.it/www/page.php:49]
An error occurred in script '/srv/domini/britishinstitute.it/www/inc/php/funcs.php' on line 255: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given
Date/Time: 12-12-2019 04:21:01
Array
(
    [pag] => 
    [dbc] => mysqli Object
        (
            [affected_rows] => -1
            [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
            [client_version] => 50012
            [connect_errno] => 0
            [connect_error] => 
            [errno] => 0
            [error] => 
            [error_list] => Array
                (
                )

            [field_count] => 24
            [host_info] => 192.168.100.3 via TCP/IP
            [info] => 
            [insert_id] => 0
            [server_info] => 5.5.5-10.0.36-MariaDB-0ubuntu0.16.04.1
            [server_version] => 100036
            [stat] => Uptime: 27309174  Threads: 10  Questions: 692115151  Slow queries: 33305202  Opens: 6812558  Flush tables: 1  Open tables: 400  Queries per second avg: 25.343
            [sqlstate] => 00000
            [protocol_version] => 10
            [thread_id] => 34838535
            [warning_count] => 0
        )

    [retVal] => 
    [ban_q] => SELECT * FROM tblpagine_banner WHERE pgnId =  ORDER BY pgbOrdine
    [ban_s] => 
)

#0  my_error_handler(2, mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given, /srv/domini/britishinstitute.it/www/inc/php/funcs.php, 255, Array ([pag] => ,[dbc] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[retVal] => ,[ban_q] => SELECT * FROM tblpagine_banner WHERE pgnId =  ORDER BY pgbOrdine,[ban_s] => ))
#1  mysqli_free_result() called at [/srv/domini/britishinstitute.it/www/inc/php/funcs.php:255]
#2  np_page_banner(, mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => )) called at [/srv/domini/britishinstitute.it/www/page.php:49]

An error occurred in script '/srv/domini/britishinstitute.it/www/inc/php/funcs.php' on line 265: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given
Date/Time: 12-12-2019 04:21:01
Array
(
    [pag] => 
    [dbc] => mysqli Object
        (
            [affected_rows] => -1
            [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
            [client_version] => 50012
            [connect_errno] => 0
            [connect_error] => 
            [errno] => 1064
            [error] => 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 'ORDER BY pggOrdine' at line 1
            [error_list] => Array
                (
                    [0] => Array
                        (
                            [errno] => 1064
                            [sqlstate] => 42000
                            [error] => 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 'ORDER BY pggOrdine' at line 1
                        )

                )

            [field_count] => 24
            [host_info] => 192.168.100.3 via TCP/IP
            [info] => 
            [insert_id] => 0
            [server_info] => 5.5.5-10.0.36-MariaDB-0ubuntu0.16.04.1
            [server_version] => 100036
            [stat] => Uptime: 27309174  Threads: 10  Questions: 692115152  Slow queries: 33305202  Opens: 6812558  Flush tables: 1  Open tables: 400  Queries per second avg: 25.343
            [sqlstate] => 00000
            [protocol_version] => 10
            [thread_id] => 34838535
            [warning_count] => 0
        )

    [gal_q] => SELECT * FROM tblpagine_gallery WHERE pgnId =  ORDER BY pggOrdine
    [gal_s] => 
    [retVal] => 
)

#0  my_error_handler(2, mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given, /srv/domini/britishinstitute.it/www/inc/php/funcs.php, 265, Array ([pag] => ,[dbc] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[gal_q] => SELECT * FROM tblpagine_gallery WHERE pgnId =  ORDER BY pggOrdine,[gal_s] => ,[retVal] => ))
#1  mysqli_num_rows() called at [/srv/domini/britishinstitute.it/www/inc/php/funcs.php:265]
#2  np_page_gallery(, mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => )) called at [/srv/domini/britishinstitute.it/www/page.php:85]
An error occurred in script '/srv/domini/britishinstitute.it/www/inc/php/funcs.php' on line 273: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given
Date/Time: 12-12-2019 04:21:01
Array
(
    [pag] => 
    [dbc] => mysqli Object
        (
            [affected_rows] => -1
            [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
            [client_version] => 50012
            [connect_errno] => 0
            [connect_error] => 
            [errno] => 0
            [error] => 
            [error_list] => Array
                (
                )

            [field_count] => 24
            [host_info] => 192.168.100.3 via TCP/IP
            [info] => 
            [insert_id] => 0
            [server_info] => 5.5.5-10.0.36-MariaDB-0ubuntu0.16.04.1
            [server_version] => 100036
            [stat] => Uptime: 27309174  Threads: 10  Questions: 692115152  Slow queries: 33305202  Opens: 6812558  Flush tables: 1  Open tables: 400  Queries per second avg: 25.343
            [sqlstate] => 00000
            [protocol_version] => 10
            [thread_id] => 34838535
            [warning_count] => 0
        )

    [gal_q] => SELECT * FROM tblpagine_gallery WHERE pgnId =  ORDER BY pggOrdine
    [gal_s] => 
    [retVal] => 
)

#0  my_error_handler(2, mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given, /srv/domini/britishinstitute.it/www/inc/php/funcs.php, 273, Array ([pag] => ,[dbc] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[gal_q] => SELECT * FROM tblpagine_gallery WHERE pgnId =  ORDER BY pggOrdine,[gal_s] => ,[retVal] => ))
#1  mysqli_free_result() called at [/srv/domini/britishinstitute.it/www/inc/php/funcs.php:273]
#2  np_page_gallery(, mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => )) called at [/srv/domini/britishinstitute.it/www/page.php:85]