Projet

Général

Profil

Actions

Anomalie #23188

fermé

[Php8] La route GET::versionsUpdateSQL renvoie une erreur

Ajouté par Hamza HRAMCHI il y a presque 2 ans. Mis à jour il y a presque 2 ans.

Statut:
R&D - Terminé
Priorité:
1-Majeur
Assigné à:
Version cible:
Début:
19/12/2022
Echéance:

Description

{
    "message": "Slim Application Error",
    "error": [
        {
            "type": "TypeError",
            "code": 0,
            "message": "array_diff(): Argument #1 ($array) must be of type array, bool given",
            "file": "\/var\/www\/html\/mc_dev\/src\/app\/versionUpdate\/controllers\/VersionUpdateController.php",
            "line": 265,
            "trace": [
                "#0 \/var\/www\/html\/mc_dev\/src\/app\/versionUpdate\/controllers\/VersionUpdateController.php(265): array_diff()",
                "#1 [internal function]: VersionUpdate\\controllers\\VersionUpdateController->updateSQLVersion()",
                "#2 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/Handlers\/Strategies\/RequestResponse.php(40): call_user_func()",
                "#3 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/Route.php(281): Slim\\Handlers\\Strategies\\RequestResponse->__invoke()",
                "#4 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke()",
                "#5 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/Route.php(268): Slim\\Route->callMiddlewareStack()",
                "#6 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/App.php(503): Slim\\Route->run()",
                "#7 \/var\/www\/html\/mc_dev\/rest\/index.php(52): Slim\\App->__invoke()",
                "#8 [internal function]: Closure->{closure}()",
                "#9 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/DeferredCallable.php(57): call_user_func_array()",
                "#10 [internal function]: Slim\\DeferredCallable->__invoke()",
                "#11 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(70): call_user_func()",
                "#12 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}()",
                "#13 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/App.php(392): Slim\\App->callMiddlewareStack()",
                "#14 \/var\/www\/html\/mc_dev\/vendor\/slim\/slim\/Slim\/App.php(297): Slim\\App->process()",
                "#15 \/var\/www\/html\/mc_dev\/rest\/index.php(734): Slim\\App->run()",
                "#16 {main}"
            ]
        }
    ]
}
Actions

Formats disponibles : Atom PDF