ERROR (2006) : MySQL server has gone away
Array
(
    [0] => Array
        (
            [file] => /home/philgo/www/class/mysqli/mysqli.php
            [line] => 388
            [function] => check_error
            [class] => DB
            [object] => DB Object
                (
                    [affected_rows] => -1
                    [client_info] => mysqlnd 7.4.1
                    [client_version] => 70401
                    [connect_errno] => 0
                    [connect_error] => 
                    [errno] => 2006
                    [error] => MySQL server has gone away
                    [error_list] => Array
                        (
                            [0] => Array
                                (
                                    [errno] => 2006
                                    [sqlstate] => HY000
                                    [error] => MySQL server has gone away
                                )

                        )

                    [field_count] => 15
                    [host_info] => 167.99.77.189 via TCP/IP
                    [info] => 
                    [insert_id] => 0
                    [server_info] => 5.5.5-10.3.13-MariaDB-log
                    [server_version] => 100313
                    [sqlstate] => HY000
                    [protocol_version] => 10
                    [thread_id] => 4808428
                    [warning_count] => 0
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [1] => Array
        (
            [file] => /home/philgo/www/class/adv2/adv2.php
            [line] => 154
            [function] => rows
            [class] => DB
            [object] => DB Object
                (
                    [affected_rows] => -1
                    [client_info] => mysqlnd 7.4.1
                    [client_version] => 70401
                    [connect_errno] => 0
                    [connect_error] => 
                    [errno] => 2006
                    [error] => MySQL server has gone away
                    [error_list] => Array
                        (
                            [0] => Array
                                (
                                    [errno] => 2006
                                    [sqlstate] => HY000
                                    [error] => MySQL server has gone away
                                )

                        )

                    [field_count] => 15
                    [host_info] => 167.99.77.189 via TCP/IP
                    [info] => 
                    [insert_id] => 0
                    [server_info] => 5.5.5-10.3.13-MariaDB-log
                    [server_version] => 100313
                    [sqlstate] => HY000
                    [protocol_version] => 10
                    [thread_id] => 4808428
                    [warning_count] => 0
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT idx, gid, stamp, int_2, varchar_2,varchar_5, varchar_3, varchar_4, varchar_16
    FROM sf_post_data
    WHERE post_id='adv' AND
        
        
        varchar_2='top-right' AND
        (int_1 <= 20240427 AND  int_2 >= 20240427 )
    ORDER BY int_3 DESC,  int_2 DESC
                )

        )

    [2] => Array
        (
            [file] => /home/philgo/www/theme/philgo/logo_search.php
            [line] => 6
            [function] => banners
            [class] => Adv2
            [type] => ::
            [args] => Array
                (
                    [0] => Array
                        (
                            [type] => top-right
                            [shuffle] => 1
                        )

                )

        )

    [3] => Array
        (
            [file] => /home/philgo/www/theme/philgo/header.php
            [line] => 186
            [args] => Array
                (
                    [0] => /home/philgo/www/theme/philgo/logo_search.php
                )

            [function] => include
        )

    [4] => Array
        (
            [file] => /home/philgo/www/theme/philgo/layout.php
            [line] => 143
            [args] => Array
                (
                    [0] => /home/philgo/www/theme/philgo/header.php
                )

            [function] => include
        )

    [5] => Array
        (
            [file] => /home/philgo/www/etc/load_theme.php
            [line] => 15
            [args] => Array
                (
                    [0] => /home/philgo/www/theme/philgo/layout.php
                )

            [function] => include
        )

    [6] => Array
        (
            [file] => /home/philgo/www/index.php
            [line] => 92
            [args] => Array
                (
                    [0] => /home/philgo/www/etc/load_theme.php
                )

            [function] => include
        )

)