mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-25 23:55:56 +03:00
[GH-ISSUE #1876] Uncaught Error: Class "Monolog\Logger" not found #799
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#799
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 @Justman100 on GitHub (Apr 1, 2024).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1876
Hi, if i use Composer, this comes:
I use the version 3.5.0
@stof commented on GitHub (Apr 1, 2024):
This error does not make any sense. The
Monolog\Loggerclass exists in Monolog. Make sure you don't have a corruptedvendor/monolog/monologfolder (you can usecomposer reinstall monolog/monolog)@Justman100 commented on GitHub (Apr 1, 2024):
Still comes
@Justman100 commented on GitHub (Apr 1, 2024):
It occurs a another error too
@stof commented on GitHub (Apr 2, 2024):
Do you have the
psrPHP extension installed ? If yes, please remove it. This extension is totally broken because it does not account for the fact that allpsr/*packages have multiple versions. The working way is to rely on the userland implementation of the PSR interfaces which are managed by composer.@Justman100 commented on GitHub (Apr 2, 2024):
Hmm, removed! But still comes
@Justman100 commented on GitHub (May 3, 2024):
@Seldaek
@Seldaek commented on GitHub (May 3, 2024):
@Justman100 yeah sorry i have no idea.. this seems to be an environment issue.
@keshavvin commented on GitHub (Dec 12, 2024):
Fatal error: Uncaught Error: Class "Monolog\Logger" not found in C:\wamp\www\donor\modules\Vtiger\helpers\Logger.php:83 Stack trace: #0 C:\wamp\www\donor\include\logging.php(24): require_once() #1 C:\wamp\www\donor\include\database\PearDatabase.php(16): require_once('C:\wamp\www\don...') #2 C:\wamp\www\donor\include\utils\UserInfoUtil.php(12): require_once('C:\wamp\www\don...') #3 C:\wamp\www\donor\vtlib\Vtiger\Access.php(10): include_once('C:\wamp\www\don...') #4 C:\wamp\www\donor\vtlib\Vtiger\ModuleBasic.php(10): include_once('C:\wamp\www\don...') #5 C:\wamp\www\donor\vtlib\Vtiger\Module.php(12): include_once('C:\wamp\www\don...') #6 C:\wamp\www\donor\prospect.php(3): include_once('C:\wamp\www\don...') #7 {main} thrown in C:\wamp\www\donor\modules\Vtiger\helpers\Logger.php on line 83
how to resolve this error in vtiger v- 8
@bhuyInfinitalk279 commented on GitHub (Jan 31, 2025):
make sure you imported this code
require 'vendor/autoload.php';