Hi all, as per title, I can't access the back office (prestashop is 1.7.8.5) After deleting the cookies and cache folders I activated debugging and I have a series of errors:
UndefinedMethodException
in controllers/admin/AdminLoginController.php (line 243)
238 $this->errors[] = $this->trans('Invalid email address.', [], 'Admin.Notifications.Error');
239 }
240
241 if (empty($passwd)) {
242 $this->errors[] = $this->trans('The password field is blank.', [], 'Admin.Notifications.Error');
243 } elseif (!Validate::isAcceptablePasswordLength($passwd)) {
244 $this->errors[] = $this->trans('Invalid password.', [], 'Admin.Notifications.Error');
245 }
246
247 if (!count($this->errors)) {
248 // Find employee
AdminLoginControllerCore->processLogin()in controllers/admin/AdminLoginController.php (line 211)
206 'controller' => $this,
207 ]
208 );
209
210 if (Tools::isSubmit('submitLogin')) {
211 $this->processLogin();
212 } elseif (Tools::isSubmit('submitForgot')) {
213 $this->processForgot();
214 } elseif (Tools::isSubmit('submitReset')) {
215 $this->processReset();
216 }
AdminLoginControllerCore->postProcess()in classes/controller/Controller.php (line 295)
290 if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
291 $this->setMedia();
292 }
293
294 // postProcess handles ajaxProcess
295 $this->postProcess();
296
297 if (!empty($this->redirect_after)) {
298 $this->redirect();
299 }
ControllerCore->run()in classes/Dispatcher.php (line 518)
513 if (isset($params_hook_action_dispatcher)) {
514 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
515 }
516
517 // Running controller
518 $controller->run();
519
520 // Execute hook dispatcher after
521 if (isset($params_hook_action_dispatcher)) {
522 Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher);
523 }
DispatcherCore->dispatch()in admin947sj3cpr/index.php (line 93)
88 if (!headers_sent()) {
89 header('Content-Type: text/html; charset=utf-8');
90 }
91
92 // Prepare and trigger LEGACY admin dispatcher
93 Dispatcher::getInstance()->dispatch();
94 }