ABCDino Posted November 14, 2019 Share Posted November 14, 2019 (edited) Hi, I am creating a front controller for MyModule, but I have an error. Fatal error: Class 'ModuleFrontController' not found Curently, my file is : <?php /* MyModule/controllers/front/MyController.php */ class MyModuleMyControllerFrontController extends ModuleFrontController { public function __construct() { parent::__construct(); } public function initContent() { parent::initContent(); } } Any idea ? Edited November 15, 2019 by ABCDino (see edit history) Link to comment Share on other sites More sharing options...
Rhobur Posted November 16, 2019 Share Posted November 16, 2019 try, class MyModuleMyControllerFrontController extends ModuleFrontControllerCore 1 Link to comment Share on other sites More sharing options...
Skyneuron Posted August 9, 2021 Share Posted August 9, 2021 On 11/16/2019 at 10:00 AM, Rhobur said: try, class MyModuleMyControllerFrontController extends ModuleFrontControllerCore Have you checked what you wrote? Nothing is working. 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