class AuthController extends AuthControllerCore { public $onepagecheckoutps; public function init() { parent::init(); if (Module::isInstalled('onepagecheckoutps')) { $opc = Module::getInstanceByName('onepagecheckoutps'); if (Validate::isLoadedObject($opc) && $opc->active) { if ($opc->core->isVisible() && $opc->checkCustomerAccessToModule()) { // CORRECCIÓN PARA PHP 7.4+ if (isset($opc->config_vars['OPC_REPLACE_AUTH_CONTROLLER']) && $opc->config_vars['OPC_REPLACE_AUTH_CONTROLLER']) { $this->onepagecheckoutps = $opc; } } } } } public function initContent() { if (Validate::isLoadedObject($this->onepagecheckoutps)) { parent::initContent(); $this->onepagecheckoutps->initContentRegisterControllerOPC($this, ''); } elseif (Tools::isSubmit('submitCreate')) { Hook::exec('actionContactFormSubmitCaptcha'); if (!sizeof($this->context->controller->errors)) { parent::initContent(); } else { $register_form = $this ->makeCustomerForm() ->setGuestAllowed(false) ->fillWith(Tools::getAllValues()); FrontController::initContent(); $this->context->smarty->assign(array( 'register_form' => $register_form->getProxy(), 'hook_create_account_top' => Hook::exec('displayCustomerAccountFormTop') )); $this->setTemplate('customer/registration'); } } else { parent::initContent(); } } public function setMedia() { parent::setMedia(); if (Validate::isLoadedObject($this->onepagecheckoutps)) { $this->onepagecheckoutps->getMediaFront(); } } } Fatal error: Uncaught Error: Class 'AuthController' not found in /hosting/www/mastergrowshop.es/public/classes/controller/Controller.php:233 Stack trace: #0 /hosting/www/mastergrowshop.es/public/classes/Dispatcher.php(517): ControllerCore::getController() #1 /hosting/www/mastergrowshop.es/public/index.php(28): DispatcherCore->dispatch() #2 {main} thrown in /hosting/www/mastergrowshop.es/public/classes/controller/Controller.php on line 233