Hi,
I'm encountering the same issue after upgrading to version 4.4.2. The error seems to be related to the ClassNotFoundError with the message:
Attempted to load class "TemplatesComponent" from namespace "Joomla\Component\Templates\Administrator\Extension".
Did you forget a "use" statement for another namespace?
It appears to be failing at the line 46 in the provider.php file:
$container->registerServiceProvider(new ComponentDispatcherFactory('\\Joomla\\Component\\Templates'));
$container->set(
ComponentInterface::class,
function (Container $container) {
$component = new TemplatesComponent($container->get(ComponentDispatcherFactoryInterface::class));
$component->setMVCFactory($container->get(MVCFactoryInterface::class));
$component->setRegistry($container->get(Registry::class));
return $component;
}
);
Additionally, there seems to be an issue with loading the required file:
Failed opening required '/data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/cache/autoload_psr4.php' (include_path='.:/usr/php81/lib/php')
I hope the development team addresses this issue promptly. If anyone has found a workaround or a solution, please share it with me. Thanks!
I'm encountering the same issue after upgrading to version 4.4.2. The error seems to be related to the ClassNotFoundError with the message:
Attempted to load class "TemplatesComponent" from namespace "Joomla\Component\Templates\Administrator\Extension".
Did you forget a "use" statement for another namespace?
It appears to be failing at the line 46 in the provider.php file:
$container->registerServiceProvider(new ComponentDispatcherFactory('\\Joomla\\Component\\Templates'));
$container->set(
ComponentInterface::class,
function (Container $container) {
$component = new TemplatesComponent($container->get(ComponentDispatcherFactoryInterface::class));
$component->setMVCFactory($container->get(MVCFactoryInterface::class));
$component->setRegistry($container->get(Registry::class));
return $component;
}
);
Additionally, there seems to be an issue with loading the required file:
Failed opening required '/data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/cache/autoload_psr4.php' (include_path='.:/usr/php81/lib/php')
I hope the development team addresses this issue promptly. If anyone has found a workaround or a solution, please share it with me. Thanks!
Statistics: Posted by glennjoe44 — Fri Feb 02, 2024 6:54 pm