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

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

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

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

LINE: 167    /var/www/vhosts/groupcornertest.ovh/httpdocs/app/controllers/front_office/site/Hotel.php

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

SELECT A.id, A.title, A.rooms, A.image, A.slug, B.hebergementid

 FROM `gcv2_hotels` A INNER JOIN `gcv2_hotels_hebergements` B ON B.hotelid=A.id

 WHERE  ( B.`hebergementid`='13'  AND  A.`id` != '35925'  AND  `active` is TRUE)   and get_distance_km(A.latitude,A.longitude,'50.6832312','2.572492') < 20   

 ORDER BY RAND() 

 LIMIT 4

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

SELECT A.id, A.title, A.rooms, A.image, A.slug, B.hebergementid

 FROM `gcv2_hotels` A INNER JOIN `gcv2_hotels_hebergements` B ON B.hotelid=A.id

 WHERE  ( B.`hebergementid`=:W_VAL_59  AND  A.`id` != :W_OBJ_60  AND  `active` is TRUE)   and get_distance_km(A.latitude,A.longitude,'50.6832312','2.572492') < 20   

 ORDER BY RAND() 

 LIMIT 4

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

Array
(
    [ B.`hebergementid`] => Array
        (
            [key] => :W_VAL_59
            [value] => 13
        )

    [A.id] => Array
        (
            [key] => :W_OBJ_60
            [value] => 35925
            [type] => 2
        )

)


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

/var/www/vhosts/groupcornertest.ovh/httpdocs/app/helpers/database.php:492 - execute
/var/www/vhosts/groupcornertest.ovh/httpdocs/app/core/model.php:189 - call_user_func_array
/var/www/vhosts/groupcornertest.ovh/httpdocs/app/controllers/front_office/site/Hotel.php:167 - select
/var/www/vhosts/groupcornertest.ovh/httpdocs/app/core/router.php:110 - call_user_func_array
/var/www/vhosts/groupcornertest.ovh/httpdocs/app/core/router.php:280 - invokeObject
/var/www/vhosts/groupcornertest.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/groupcornertest.ovh/httpdocs/app/helpers/database.php [line:protected] => 492 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/vhosts/groupcornertest.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/groupcornertest.ovh/httpdocs/app/core/model.php [line] => 189 [function] => call_user_func_array ) [3] => Array ( [file] => /var/www/vhosts/groupcornertest.ovh/httpdocs/app/controllers/front_office/site/Hotel.php [line] => 167 [function] => select [class] => core\Model [type] => -> ) [4] => Array ( [function] => index [class] => controllers\front_office\site\Hotel [type] => -> ) [5] => Array ( [file] => /var/www/vhosts/groupcornertest.ovh/httpdocs/app/core/router.php [line] => 110 [function] => call_user_func_array ) [6] => Array ( [file] => /var/www/vhosts/groupcornertest.ovh/httpdocs/app/core/router.php [line] => 280 [function] => invokeObject [class] => core\Router [type] => :: ) [7] => Array ( [file] => /var/www/vhosts/groupcornertest.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/contact-hotel-auberge-de-la-foret\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 A.id, A.title, A.rooms, A.image, A.slug, B.hebergementid\n
\n
 FROM `gcv2_hotels` A INNER JOIN `gcv2_hotels_hebergements` B ON B.hotelid=A.id\n
\n
 WHERE  ( B.`hebergementid`='13'  AND  A.`id` != '35925'  AND  `active` is TRUE)   and get_distance_km(A.latitude,A.longitude,'50.6832312','2.572492') < 20   \n
\n
 ORDER BY RAND() \n
\n
 LIMIT 4\n
----------------------------------\n
WHERE PARAMS : \n
\n
 B.`hebergementid` : 13 (:W_VAL_59)\n
A.id : 35925 (:W_OBJ_60)\n
----------------------------------\n
TRACE : \n
\n
app/helpers/database.php:492 - execute\n
app/core/model.php:189 - call_user_func_array\n
app/controllers/front_office/site/Hotel.php:167 - select\n
app/core/router.php:110 - call_user_func_array\n
app/core/router.php:280 - invokeObject\n
index.php:77 - dispatch\n
----------------------------------\n
"""