royns Posted November 15, 2020 Share Posted November 15, 2020 (edited) hello everyone my problem today is for some reason none of my employee can access his account, in the back end when they enter their a email and password, it shows a error 500, the same problem happen even for newly created accounts i would appreciate if someone can help me solve this problem when i enabled the the debug mode i got this error displayed, The action to call is not defined. Exception in modules/welcome/controllers/admin/AdminWelcomeController.php (line 27) class AdminWelcomeController extends ModuleAdminController { public function postProcess() { if (!isset($_POST['action'])) { throw new Exception('The action to call is not defined.'); } if (!isset($_POST['value'])) { throw new Exception('The value to set is not defined.'); } AdminWelcomeController->postProcess()in classes/controller/Controller.php (line 281) if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { $this->setMedia(); } // postProcess handles ajaxProcess $this->postProcess(); if (!empty($this->redirect_after)) { $this->redirect(); } ControllerCore->run()in classes/Dispatcher.php (line 515) if (isset($params_hook_action_dispatcher)) { Hook::exec('actionDispatcher', $params_hook_action_dispatcher); } // Running controller $controller->run(); // Execute hook dispatcher after if (isset($params_hook_action_dispatcher)) { Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); } DispatcherCore->dispatch()in admin401/index.php (line 97) if (!headers_sent()) { header('Content-Type: text/html; charset=utf-8'); } // Prepare and trigger LEGACY admin dispatcher Dispatcher::getInstance()->dispatch(); } Stack Trace Exception Exception: The action to call is not defined. at modules/welcome/controllers/admin/AdminWelcomeController.php:27 at AdminWelcomeController->postProcess() (classes/controller/Controller.php:281) at ControllerCore->run() (classes/Dispatcher.php:515) at DispatcherCore->dispatch() (admin401/index.php:97) Edited November 15, 2020 by royns (see edit history) Link to comment Share on other sites More sharing options...
irmux112 Posted October 10, 2021 Share Posted October 10, 2021 @royns Did you find a solution ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now