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

Contao\Model::isPreviewMode() must be of the type array, null given #9

Closed
skolarianer opened this issue Dec 14, 2017 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@skolarianer
Copy link

skolarianer commented Dec 14, 2017

Type error: Argument 1 passed to Contao\Model::isPreviewMode() must be of the type array, null given, called in …/vendor/contao/comments-bundle/src/Resources/contao/models/CommentsModel.php on line 149

Ich weiß leider nicht mehr woraufhin der Fehler auftrat. Entweder beim Update von 4.4.8 auf 4.4.9 oder beim Installieren einer Erweiterung.
Ich musste die Cookies löschen, um den Fehler loszuwerden.

EDIT: Sobald ich mich als FE_USER anmelde, taucht der Fehler wieder auf. Eine Anmeldung als FE_USER ist damit nicht mehr möglich. comments-bundle manuell zurück auf 4.4.8 und es geht wieder.

@leofeyer
Copy link
Member

Behoben in ddaa16e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants