Fatal error 4.4.3 to 5

Need help upgrading your Joomla! website or converting to Joomla! 5.x?

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
ESHEila
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Mar 28, 2024 1:11 pm

Fatal error 4.4.3 to 5

Post by ESHEila » Thu Mar 28, 2024 1:26 pm

I was upgading from 4.4.3 to 5 and I got fatal error. Backend and frontend both not working and no access. Can I fix this or is it better to delete joomla and re-install?

PHP Fatal error: Declaration of Joomla\CMS\Log\DelegatingPsrLogger::log($level, Stringable|string $message, array $context = []): void must be compatible with PsrExt\Log\LoggerInterface::log($level, $message, array $context = []) in /home/c3k5hc79/public_html/libraries/src/Log/DelegatingPsrLogger.php on line 77

I had no problem with another website with same plugins and host. I admit that I was careless, because this is a small website.
Last edited by toivo on Thu Mar 28, 2024 1:49 pm, edited 1 time in total.
Reason: mod note: moved from 5.x Installation

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30942
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Fatal error 4.4.3 to 5

Post by Per Yngve Berg » Thu Mar 28, 2024 3:28 pm

Enable Debug in Configuration.php and get the Stack Trace. Identifisere the Plugin that is causing the trouble and disable it

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Fatal error 4.4.3 to 5

Post by leolam » Thu Mar 28, 2024 3:37 pm

Disable PSR extension in PHP.

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

ESHEila
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Mar 28, 2024 1:11 pm

Re: Fatal error 4.4.3 to 5

Post by ESHEila » Thu Mar 28, 2024 9:28 pm

Thank you! I'll try to fix the problem. It's quite difficult for me. I have been using Joomla for over 10 years on 5 sites without any serious problems.


Post Reply

Return to “Migrating and Upgrading to Joomla! 5.x”