class AddressesController extends AddressesControllerCore { public $onepagecheckoutps; public function 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_ADDRESSES_CONTROLLER']) && $opc->config_vars['OPC_REPLACE_ADDRESSES_CONTROLLER']) { $this->onepagecheckoutps = $opc; } } } } parent::init(); } public function initContent() { parent::initContent(); if (Validate::isLoadedObject($this->onepagecheckoutps)) { $this->onepagecheckoutps->initContentRegisterControllerOPC($this, $this->context->controller->php_self); } } public function setMedia() { parent::setMedia(); if (Validate::isLoadedObject($this->onepagecheckoutps)) { $this->onepagecheckoutps->getMediaFront(); } } } Fatal error: Uncaught Error: Class 'AddressesController' 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