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

Error in T3 8.7LTS with debugmode activated #17

Open
jacques2017 opened this issue Nov 22, 2018 · 1 comment
Open

Error in T3 8.7LTS with debugmode activated #17

jacques2017 opened this issue Nov 22, 2018 · 1 comment

Comments

@jacques2017
Copy link

Hallo, wenn ich den debugmodus in T3 8.7LTS aktiviere, wird folgende Fehlermeldung angezeigt:
Uncaught TYPO3 Exception
#1476107295: PHP Warning: get_class() expects parameter 1 to be object, null given in [...]/web/typo3conf/ext/dated_news/Classes/Hooks/PageRenderer.php line 40
Meine Vermutung ist, dass dieses mit den Aktualisierungen in der extension "news" zusammen hängt.
Es wäre toll, wenn Sie den Fehler beheben könnten.
Gruß
Jens L. aka Jacques2017

@dennismetz
Copy link

A Quick fix is to wrap the if(get_class... from "addBackendJS" with another if.
The Bug appears only on windows for me (local system) - on Linux -> Live/Staging there are no problems.

if (\is_object($GLOBALS['SOBE'])) {
if(get_class($GLOBALS['SOBE']....
}

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

2 participants