Extract the files from https://downloads.joomla.org/cms/joomla5/5-0-0/Joomla_5.0.0-Stable-Full_Package.tar.gz?format=gz , and setup database configuration.
example.com/installation to give the normal joomla install
Fatal error: Uncaught Error: Class "Psr\Log\LogLevel" not found in /misc/5/000/267/030/6/user/web/wordpress.ncoulson.com/joomla/libraries/vendor/symfony/error-handler/ErrorHandler.php:112
Stack trace:
#0 /misc/5/000/267/030/6/user/web/wordpress.ncoulson.com/joomla/libraries/bootstrap.php(57): Symfony\Component\ErrorHandler\ErrorHandler::register()
#1 /misc/5/000/267/030/6/user/web/wordpress.ncoulson.com/joomla/installation/includes/framework.php(27): require_once('/misc/5/000/267...')
#2 /misc/5/000/267/030/6/user/web/wordpress.ncoulson.com/joomla/installation/includes/app.php(26): require_once('/misc/5/000/267...')
#3 /misc/5/000/267/030/6/user/web/wordpress.ncoulson.com/joomla/installation/index.php(32): require_once('/misc/5/000/267...')
#4 {main} thrown in /misc/5/000/267/030/6/user/web/wordpress.ncoulson.com/joomla/libraries/vendor/symfony/error-handler/ErrorHandler.php on line 112
AlmaLinux 8.8 (Bravenet Web Hosting)
php 8.0, 8.1 and 8.2 - latest
Tested on 8.1/8.2 at bravenet.com (technically 8.0 as well, which gave the "you need 8.1 minimum"
Reran the same tests with Joomla 4.3.4, no issues
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|
Further testing, with composer and php-PsrLog removed, no change.
I was wondering how to take this further, This is affecting our entire hosting environment for customers.
Check whether file vendor/psr/log/src/LogLevel.php
exist, and it is not corrupted.
Also may be something with filesystem read-access.
I cannot think many other resons why the class cannot be found.
Labels |
Added:
Information Required
|
That turned out to be it. We have a git repository that imports this for use as a one click installer. .gitignore had log in it, (now changed to /log), that meant source/libraries/vendor/psr/log was not included. Resolved.
Thank you, (hrm, don't see a option to close the ticket from here, let's see)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-11-27 17:46:11 |
Closed_By | ⇒ | alikon |
thanks for reporting
Adding to this, our environment does have php-PsrLog installed, pulled in by composer. (Remi's PHP Repositories). Had someone reach out and advise this may be related.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42186.