Skip to content

Fixes bug with debug=1 system setting #76

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

wuuti
Copy link

@wuuti wuuti commented Sep 10, 2015

When you have debug=1 in system settings, manager pages with quip components are broken. This is due to the lines 128-131, which change the set error behaviour of your system (NEVER put out errors to HTML...).
The revealing error was the access to config['debugUser'], which may not be set. This throws the error

Notice: Undefined index: debugUser in /core/components/quip/model/quip/quip.class.php on line 132

This error was already reported at http://bugs.modx.com/issues/8467 and on other places, but was never corrected.

When you have debug=1 in system settings, manager pages with quip components are broken. This is due to the lines 128-131, which change the set error behaviour of your system (NEVER put out errors to HTML...). 
The revealing error was the access to config['debugUser'], which may not be set. This throws the error 

```
Notice: Undefined index: debugUser in /core/components/quip/model/quip/quip.class.php on line 132
```

This error was already reported at http://bugs.modx.com/issues/8467 and on other places, but was never corrected.
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

Successfully merging this pull request may close these issues.

1 participant