mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #518] Error with Psr/Log #183
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @afuno on GitHub (Mar 1, 2015).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/518
After connecting:
use Vendor\Classes\Monolog\Logger;
use Vendor\Classes\Monolog\Handler\StreamHandler;
Occurs error:
Warning: require_once(/var/www/username/data/www/site.com/Psr/Log/LoggerInterface.php): failed to open stream: No such file or directory in /var/www/username/data/www/site.com/Vendor/Classes/Autoloader.php on line 18 Fatal error: require_once(): Failed opening required '/var/www/username/data/www/site.com/Psr/Log/LoggerInterface.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/username/data/www/site.com/Vendor/Classes/Autoloader.php on line 18
It is because of these lines in the file Vendor\Classes\Monolog\Logger:
use Psr\Log\LoggerInterface;
use Psr\Log\InvalidArgumentException;
How to fix it? I could not find with the same name files and/or classes.
@afuno commented on GitHub (Mar 1, 2015):
https://github.com/php-fig/log