**********************************************************************************
********************************  DEBUG DATABASE  ********************************
**********************************************************************************

----------------------------------- ERROR PDO -----------------------------------

SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress

----------------------------------- ERROR LINE -----------------------------------

LINE: 334    /var/www/vhosts/backyoutest.ovh/httpdocs/app/core/model.php

----------------------------------- FULL REQUEST -----------------------------------

SELECT  SQL_CALC_FOUND_ROWS 
                B.slug,B.h1_title as title,
                C.smallcode

 FROM 
            `gcv2_contents` as A 
            INNER JOIN `gcv2_contents_i18n` as B ON A.id=B.contents_id 
            LEFT JOIN `gcv2_languages` as C ON B.lang=C.code 
            

 WHERE  ( A.`slug`='notre-politique-de-confidentialite'  AND  B.`lang`='fr_FR' )      

 LIMIT 1

----------------------------------- PREPARE REQUEST -----------------------------------

SELECT  SQL_CALC_FOUND_ROWS 
                B.slug,B.h1_title as title,
                C.smallcode

 FROM 
            `gcv2_contents` as A 
            INNER JOIN `gcv2_contents_i18n` as B ON A.id=B.contents_id 
            LEFT JOIN `gcv2_languages` as C ON B.lang=C.code 
            

 WHERE  ( A.`slug`=:W_VAL_1  AND  B.`lang`=:W_VAL_2 )      

 LIMIT 1

----------------------------------- PARAMETERS -----------------------------------

Array
(
    [ A.`slug`] => Array
        (
            [key] => :W_VAL_1
            [value] => notre-politique-de-confidentialite
        )

    [ B.`lang`] => Array
        (
            [key] => :W_VAL_2
            [value] => fr_FR
        )

)


----------------------------------- LIENS VSCODE -----------------------------------

/var/www/vhosts/backyoutest.ovh/httpdocs/app/helpers/database.php:492 - execute
/var/www/vhosts/backyoutest.ovh/httpdocs/app/core/model.php:189 - call_user_func_array
/var/www/vhosts/backyoutest.ovh/httpdocs/app/core/model.php:334 - select
/var/www/vhosts/backyoutest.ovh/httpdocs/app/helpers/GC_Pages.php:152 - getFirstLine
/var/www/vhosts/backyoutest.ovh/httpdocs/app/controllers/front_office/Front_controller.php:64 - getLinkContentBySlug
/var/www/vhosts/backyoutest.ovh/httpdocs/app/controllers/front_office/site/Hotel.php:12 - __construct
/var/www/vhosts/backyoutest.ovh/httpdocs/app/core/router.php:92 - __construct
/var/www/vhosts/backyoutest.ovh/httpdocs/app/core/router.php:280 - invokeObject
/var/www/vhosts/backyoutest.ovh/httpdocs/index.php:77 - dispatch ----------------------------------- ERROR PDO ----------------------------------- PDOException Object ( [message:protected] => SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress [string:Exception:private] => [code:protected] => 08S01 [file:protected] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/helpers/database.php [line:protected] => 492 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/helpers/database.php [line] => 492 [function] => execute [class] => PDOStatement [type] => -> ) [1] => Array ( [function] => select [class] => helpers\Database [type] => -> ) [2] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/core/model.php [line] => 189 [function] => call_user_func_array ) [3] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/core/model.php [line] => 334 [function] => select [class] => core\Model [type] => -> ) [4] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/helpers/GC_Pages.php [line] => 152 [function] => getFirstLine [class] => core\Model [type] => -> ) [5] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/controllers/front_office/Front_controller.php [line] => 64 [function] => getLinkContentBySlug [class] => helpers\GC_Pages [type] => :: ) [6] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/controllers/front_office/site/Hotel.php [line] => 12 [function] => __construct [class] => controllers\front_office\Front_controller [type] => -> ) [7] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/core/router.php [line] => 92 [function] => __construct [class] => controllers\front_office\site\Hotel [type] => -> ) [8] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/app/core/router.php [line] => 280 [function] => invokeObject [class] => core\Router [type] => :: ) [9] => Array ( [file] => /var/www/vhosts/backyoutest.ovh/httpdocs/index.php [line] => 77 [function] => dispatch [class] => core\Router [type] => :: ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 08S01 [1] => 1053 [2] => Server shutdown in progress ) ) ------------------------------------------------------------------------------------
"""
\n
----------------------------------\n
URL: groupcornertest.ovh/fr/hotel/belambra-clubs-les-rives-de-thau\n
----------------------------------\n
BACKYOU : -\n
MEMBRE : -\n
PROFIL : \n
----------------------------------\n
SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress\n
----------------------------------\n
FULL REQUEST : \n
\n
SELECT  SQL_CALC_FOUND_ROWS \n
                B.slug,B.h1_title as title,\n
                C.smallcode\n
\n
 FROM \n
            `gcv2_contents` as A \n
            INNER JOIN `gcv2_contents_i18n` as B ON A.id=B.contents_id \n
            LEFT JOIN `gcv2_languages` as C ON B.lang=C.code \n
            \n
\n
 WHERE  ( A.`slug`='notre-politique-de-confidentialite'  AND  B.`lang`='fr_FR' )      \n
\n
 LIMIT 1\n
----------------------------------\n
WHERE PARAMS : \n
\n
 A.`slug` : notre-politique-de-confidentialite (:W_VAL_1)\n
 B.`lang` : fr_FR (:W_VAL_2)\n
----------------------------------\n
TRACE : \n
\n
app/helpers/database.php:492 - execute\n
app/core/model.php:189 - call_user_func_array\n
app/core/model.php:334 - select\n
app/helpers/GC_Pages.php:152 - getFirstLine\n
app/controllers/front_office/Front_controller.php:64 - getLinkContentBySlug\n
app/controllers/front_office/site/Hotel.php:12 - __construct\n
app/core/router.php:92 - __construct\n
app/core/router.php:280 - invokeObject\n
index.php:77 - dispatch\n
----------------------------------\n
"""