Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 989

Migrating and Upgrading to Joomla! 4.x • Errors on upgrading to 4.4.6

$
0
0
Error
ClassNotFoundError
HTTP 500 Whoops, looks like something went wrong.
Attempted to load class "TemplatesComponent" from namespace "Joomla\Component\Templates\Administrator\Extension".
Did you forget a "use" statement for another namespace?

Exceptions 2 Stack Traces 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError
in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/components/com_templates/services/provider.php (line 46)

$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;

in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/vendor/joomla/di/src/ContainerResource.php -> {closure} (line 182)
in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/vendor/joomla/di/src/Container.php -> getInstance (line 96)
Container->get('Joomla\\CMS\\Extension\\ComponentInterface') in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 177)
CMSApplication->loadExtension('Joomla\\CMS\\Extension\\ComponentInterface', 'templates', '/data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/components/com_templates') in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 51)
CMSApplication->bootComponent('templates') in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/src/Application/AdministratorApplication.php (line 233)
AdministratorApplication->getTemplate(true) in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 50)
HtmlRenderer->render(object(Error)) in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/src/Exception/ExceptionHandler.php (line 126)
ExceptionHandler::render(object(Error)) in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException(object(Error)) in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/libraries/src/Application/CMSApplication.php (line 322)
CMSApplication->execute() in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/includes/app.php (line 61)
require_once('/data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/includes/app.php') in /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/index.php (line 32)
Error

Failed opening required '/data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/cache/autoload_psr4.php' (include_path='.:/usr/share/php')


Then I did a "Back" to previous page and a new attempt was made with some different output:

Joomla Version uppdateringsstatus
OBS The update completed with errors. Please examine the update logs /data/f/9/f93134be-1f5f-4335-8028-ffe48300a2c6/rojteatern.nu/public_html/administrator/logs/joomla_update.php for more details.
It is recommended to restore the site from backup, fix the issues that caused the update failure and try to update again.
You always can ask for help on Joomla! forum https://forum.joomla.org/

Brief list of captured errors
Joomla\Filesystem\File::delete: Failed deleting inaccessible file update.php

Statistics: Posted by dsimonse — Tue Jul 09, 2024 6:03 pm



Viewing all articles
Browse latest Browse all 989

Trending Articles