Anomalie #13724
Mis à jour par Ludovic ARAUJO il y a plus de 4 ans
Erreur 500 à la création d'un utilisateur pour les webservice sur le site de demo (v20.03.1). (v20.04.1). ~~~ { "message": "Slim Application Error", "error": [ { "type": "Error", "code": 0, "message": "Call to undefined method SrcCore\\models\\AuthenticationModel::generatePassword()", "file": "\/var\/www\/html\/MaarchCourrier\/src\/app\/user\/models\/UserModelAbstract.php", "line": 89, "trace": [ "#0 \/var\/www\/html\/MaarchCourrier\/src\/app\/user\/controllers\/UserController.php(212): User\\models\\UserModelAbstract::create(Array)", "#1 [internal function]: User\\controllers\\UserController->create(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)", "#2 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/Handlers\/Strategies\/RequestResponse.php(41): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)", "#3 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/Route.php(356): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)", "#4 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))", "#5 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/Route.php(334): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))", "#6 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/App.php(516): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))", "#7 \/var\/www\/html\/MaarchCourrier\/rest\/index.php(50): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))", "#8 [internal function]: Closure->{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))", "#9 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)", "#10 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))", "#11 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))", "#12 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))", "#13 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/App.php(407): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))", "#14 \/var\/www\/html\/MaarchCourrier\/vendor\/slim\/slim\/Slim\/App.php(315): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))", "#15 \/var\/www\/html\/MaarchCourrier\/rest\/index.php(561): Slim\\App->run()", "#16 {main}" ] } ] } ~~~