Advertisement

Class "Joomla\Plugin\System\Log\Extension\Log" not found

Need help with the Administration of your Joomla! 4.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
wirecreative
Joomla! Intern
Joomla! Intern
Posts: 62
Joined: Mon Mar 10, 2008 6:52 pm

Class "Joomla\Plugin\System\Log\Extension\Log" not found

Post by wirecreative » Fri Mar 21, 2025 5:07 am

We have a site that has this error both on the home page AND the admin login screen (preventing login to the admin area):

Code: Select all

Class "Joomla\Plugin\System\Log\Extension\Log" not found
When I turned on debug with maximum reporting, this was the output:

Code: Select all

Call stack
#	Function	Location
1	()	JROOT/plugins/system/log/services/provider.php:37
2	Joomla\DI\ServiceProviderInterface@anonymous/home.restoring/[clientID]/[clientDomain]/plugins/system/log/services/provider.php:21$a0->{closure}()	JROOT/libraries/vendor/joomla/di/src/ContainerResource.php:182
3	Joomla\DI\ContainerResource->getInstance()	JROOT/libraries/vendor/joomla/di/src/Container.php:96
4	Joomla\DI\Container->get()	JROOT/libraries/src/Extension/ExtensionManagerTrait.php:177
5	Joomla\CMS\Application\CMSApplication->loadExtension()	JROOT/libraries/src/Extension/ExtensionManagerTrait.php:99
6	Joomla\CMS\Application\CMSApplication->bootPlugin()	JROOT/libraries/src/Plugin/PluginHelper.php:232
7	Joomla\CMS\Plugin\PluginHelper::import()	JROOT/libraries/src/Plugin/PluginHelper.php:192
8	Joomla\CMS\Plugin\PluginHelper::importPlugin()	JROOT/libraries/src/Application/CMSApplication.php:744
9	Joomla\CMS\Application\CMSApplication->initialiseApp()	JROOT/libraries/src/Application/SiteApplication.php:635
10	Joomla\CMS\Application\SiteApplication->initialiseApp()	JROOT/libraries/src/Application/SiteApplication.php:226
11	Joomla\CMS\Application\SiteApplication->doExecute()	JROOT/libraries/src/Application/CMSApplication.php:293
12	Joomla\CMS\Application\CMSApplication->execute()	JROOT/includes/app.php:61
13	require_once()	JROOT/index.php:32
The site is on Dreamhost, which has a few site backups with unspecified dates, and restoring them did not help. The site owner claims to have not looked at their site since December, so who knows when this started. Strangely, all of the Akeeba Backup archives made during the last year (there should be 4, made quarterly), also seem to have vanished. So I think we're stuck trying to fix this site rather than restoring a backup (which is how the previous thread about this same error resolved their situation).

My last note on the site is that I updated it from 4.4.8 to 4.4.9 in January this year. I would've made a manual backup right before doing that, but it is nowhere, and tested the site right after the updates to ensure it was working.

Any ideas?

Advertisement
User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 18139
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Class "Joomla\Plugin\System\Log\Extension\Log" not found

Post by toivo » Fri Mar 21, 2025 5:49 am

The missing class is defined in the file plugins/system/log/src/Extension/Log.php. If the file is missing, get a copy of Log.php from the installation package of Joomla 4.4.9 and copy it to the folder.

Otherwise, if the file Log.php exists and is accessible, use FTP or the File Manager from your cPanel or a similar page, provided by your host. Delete the file administrator/cache/autoload_psr4.php and access the website. That file maps the PHP classes used by Joomla and third party extensions to physical files in the filesystem and it is created automatically, if it has been deleted.
Toivo Talikka, Global Moderator

Advertisement

Post Reply

Return to “Administration Joomla! 4.x”