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

Bug in \modules\logger\preloads\core.php line 108 #21

Open
mambax7 opened this issue Sep 17, 2013 · 3 comments
Open

Bug in \modules\logger\preloads\core.php line 108 #21

mambax7 opened this issue Sep 17, 2013 · 3 comments

Comments

@mambax7
Copy link
Contributor

mambax7 commented Sep 17, 2013

Fatal error: Class 'LegacyLogger' not found in \modules\logger\preloads\core.php on line 108

XOOPS somehow cannot load the LegacyLogger.

It goes to line 83 in \class\xoopsload.php, but the legacylogger is set to "false", so it fails. See below:

image

Is it related to the comment that "//Load may fail if cache was erased" ?

Steps to reproduce:
go to Preferences for Logger, change status of "Display Legacy Logger", and save.
If the debug is not on, then is goes through, but if you set the debug on, then it generates the Fatal error.

@geekwright
Copy link
Contributor

I see you found and fixed the issue. That 'cache' comment is a left over. Only monolog depends on cached prefs now. Just an messed up addMap issue. It is hard to debug comments, though ;)

@mambax7
Copy link
Contributor Author

mambax7 commented Sep 17, 2013

No, I didn't fix it - when you turn the debug on, it pop-ups every time :(
When the debug is off, it ignores that and goes through, I am not sure why...

@geekwright
Copy link
Contributor

Ooops. It worked here? Let me dig a little deeper.

@geekwright geekwright reopened this Sep 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants