Topic on Project:Support desk

Jump to navigation Jump to search

update.php complains about missing PSR-3 logging library

2
MarkAHershberger (talkcontribs)

Visiting the front page shows

MediaWiki requires the PSR-3 logging library to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user. Please see mediawiki.org for help on installing the required components.

which has been talked about here before.

I updated composer.lock to remove a line and then ran "composer update". Yes, I know, don't do that, but I did. vendor has psr/log/PSR/Log and composer.lock that refers to psr/log.

The vendor/composer/autoload* files exist (I erased them so they would be regenerated( but none refer to any of the installed libraries.

Bawolff (talkcontribs)

Possibly the error is referring to the logging package in the Wikimedia/ namespace. Maybe compare the packaged you have vs what a fresh install would and see what's missing.

Reply to "update.php complains about missing PSR-3 logging library"