Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Class 'Psr\Log\AbstractLogger' not found #15914

Closed
rajab12 opened this issue Jan 6, 2021 · 3 comments
Closed

Fatal error: Uncaught Error: Class 'Psr\Log\AbstractLogger' not found #15914

rajab12 opened this issue Jan 6, 2021 · 3 comments

Comments

@rajab12
Copy link

rajab12 commented Jan 6, 2021

Hi All,

I was trying to activate the modules. When trying to activate the debug module this issue happened to me.

Fatal error: Uncaught Error: Class 'Psr\Log\AbstractLogger' not found in C:\xampp\htdocs\dolibarr\htdocs\includes\maximebf\debugbar\src\DebugBar\DataCollector\MessagesCollector.php:20 Stack trace: #0 C:\xampp\htdocs\dolibarr\htdocs\debugbar\class\autoloader.php(12): require_once() #1 [internal function]: {closure}('DebugBar\DataCo...') #2 C:\xampp\htdocs\dolibarr\htdocs\debugbar\class\DataCollector\DolMessagesCollector.php(9): spl_autoload_call('DebugBar\DataCo...') #3 C:\xampp\htdocs\dolibarr\htdocs\core\lib\functions.lib.php(774): include_once('C:\xampp\htdocs...') #4 C:\xampp\htdocs\dolibarr\htdocs\debugbar\class\DebugBar.php(7): dol_include_once('/debugbar/class...') #5 C:\xampp\htdocs\dolibarr\htdocs\main.inc.php(291): include_once('C:\xampp\htdocs...') #6 C:\xampp\htdocs\dolibarr\htdocs\index.php(29): require('C:\xampp\htdocs...') #7 {main} thrown in C:\xampp\htdocs\dolibarr\htdocs\includes\maximebf\debugbar\src\DebugBar\DataCollector\MessagesCollector.php on line 20

Tried to rename the composer.lock and did a Composer Install again. Did not work.

Am not able to see the Vendor folder to delete and do a fresh Composer Install.

Am using Composer 1.9. Did anybody face similar issues?!

@stephanebelazouz
Copy link

stephanebelazouz commented Apr 7, 2021

Hi,

Hope since last time you solve your problem !

I've encountered the same error and for disable manualy the module debugbar i had to change entity and value column of MAIN_MODULE_DEBUGBAR row in the datable from the const table.

Hope it help.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).

@github-actions github-actions bot added the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label May 10, 2022
@Daviid-P
Copy link
Contributor

This happens to me too, I just used jenkins to deploy to testing environment and I get this error. (All files exist and have same permissions and owners as other files)
Deleting the line from llx_const fixes the problem but you can't enable debugbar or it'll fail again.

@github-actions github-actions bot removed the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants