-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Joomla 5.0.0 - Class "Psr\Log\LogLevel" not found in symfony error-handler #42186
Comments
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. |
Further testing, with composer and php-PsrLog removed, no change. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42186. |
I was wondering how to take this further, This is affecting our entire hosting environment for customers. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42186. |
Check whether file |
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) This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42186. |
thanks for reporting |
Steps to reproduce the issue
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.
Expected result
example.com/installation to give the normal joomla install
Actual result
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
System information (as much as possible)
AlmaLinux 8.8 (Bravenet Web Hosting)
php 8.0, 8.1 and 8.2 - latest
Additional comments
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
The text was updated successfully, but these errors were encountered: