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

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

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'debug-groupcorner.gcv2_files' doesn't exist

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

LINE: 141    /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/models/admin/files.php

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

SELECT *

 FROM `gcv2_files`

 WHERE  ( `type`='requests_attachment'  AND  `img_slug` is NULL AND  `ref_table`='requests'  AND  `ref_table_id`='-219751423' )      

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

SELECT *

 FROM `gcv2_files`

 WHERE  ( `type`=:W_VAL_6  AND  `img_slug` is NULL AND  `ref_table`=:W_VAL_8  AND  `ref_table_id`=:W_VAL_9 )      

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

Array
(
    [ `type`] => Array
        (
            [key] => :W_VAL_6
            [value] => requests_attachment
        )

    [ `ref_table`] => Array
        (
            [key] => :W_VAL_8
            [value] => requests
        )

    [ `ref_table_id`] => Array
        (
            [key] => :W_VAL_9
            [value] => -219751423
        )

)


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

/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/helpers/database.php:492 - execute
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/core/model.php:189 - call_user_func_array
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/models/admin/files.php:141 - select
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/admin/files/files.php:1001 - get_params_entries
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/admin/files/files.php:1413 - get_files
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/front_office/Front_controller.php:136 - generate_form
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/front_office/site/Hotel.php:12 - __construct
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/core/router.php:92 - __construct
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/core/router.php:280 - invokeObject
/var/www/vhosts/debug-groupcorner.ovh/httpdocs/index.php:77 - dispatch ----------------------------------- ERROR PDO ----------------------------------- PDOException Object ( [message:protected] => SQLSTATE[42S02]: Base table or view not found: 1146 Table 'debug-groupcorner.gcv2_files' doesn't exist [string:Exception:private] => [code:protected] => 42S02 [file:protected] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/helpers/database.php [line:protected] => 492 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/vhosts/debug-groupcorner.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/debug-groupcorner.ovh/httpdocs/app/core/model.php [line] => 189 [function] => call_user_func_array ) [3] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/models/admin/files.php [line] => 141 [function] => select [class] => core\Model [type] => -> ) [4] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/admin/files/files.php [line] => 1001 [function] => get_params_entries [class] => models\admin\Files [type] => -> ) [5] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/admin/files/files.php [line] => 1413 [function] => get_files [class] => controllers\admin\files\files [type] => -> ) [6] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/front_office/Front_controller.php [line] => 136 [function] => generate_form [class] => controllers\admin\files\files [type] => -> ) [7] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/controllers/front_office/site/Hotel.php [line] => 12 [function] => __construct [class] => controllers\front_office\Front_controller [type] => -> ) [8] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/core/router.php [line] => 92 [function] => __construct [class] => controllers\front_office\site\Hotel [type] => -> ) [9] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/app/core/router.php [line] => 280 [function] => invokeObject [class] => core\Router [type] => :: ) [10] => Array ( [file] => /var/www/vhosts/debug-groupcorner.ovh/httpdocs/index.php [line] => 77 [function] => dispatch [class] => core\Router [type] => :: ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42S02 [1] => 1146 [2] => Table 'debug-groupcorner.gcv2_files' doesn't exist ) ) ------------------------------------------------------------------------------------
"""
\n
----------------------------------\n
URL: debug-groupcorner.ovh/pt/hotel/victors-residenz-hotel-gummersbach\n
----------------------------------\n
BACKYOU : -\n
MEMBRE : -\n
PROFIL : \n
----------------------------------\n
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'debug-groupcorner.gcv2_files' doesn't exist\n
----------------------------------\n
FULL REQUEST : \n
\n
SELECT *\n
\n
 FROM `gcv2_files`\n
\n
 WHERE  ( `type`='requests_attachment'  AND  `img_slug` is NULL AND  `ref_table`='requests'  AND  `ref_table_id`='-219751423' )      \n
----------------------------------\n
WHERE PARAMS : \n
\n
 `type` : requests_attachment (:W_VAL_6)\n
 `ref_table` : requests (:W_VAL_8)\n
 `ref_table_id` : -219751423 (:W_VAL_9)\n
----------------------------------\n
TRACE : \n
\n
app/helpers/database.php:492 - execute\n
app/core/model.php:189 - call_user_func_array\n
app/models/admin/files.php:141 - select\n
app/controllers/admin/files/files.php:1001 - get_params_entries\n
app/controllers/admin/files/files.php:1413 - get_files\n
app/controllers/front_office/Front_controller.php:136 - generate_form\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
"""