friends-of-contao / contao-privacy

This extension provides some privacy features to Contao 3.5.x and 4.4.x (4.5.x). If you have some ideas which we should add or change in the mentioned Contao versions, feel free to create an issue.
22 stars 5 forks source link

ContextErrorException im Registrierungsmodul #18

Closed ben-eSM closed 6 years ago

ben-eSM commented 6 years ago

Beim Aufruf des Registrierungsmodul erhalte ich eine ContextErrorException im Debug-Modus. Import des Hängt wohl mit dem tl_member onload callback zusammen. Warning: in_array() expects parameter 2 to be array, null given

Das Ganze passiert bei folgender Ausführung: System->import('brkwsky_privacy.listener.member_operation')

fritzmg commented 6 years ago

Welche Version hast du installiert?

ben-eSM commented 6 years ago

Aktuell die b735554

fritzmg commented 6 years ago

Verwende die Releases. In Version 2.0.0-beta2 wird brkwsky_privacy.listener.member_operation nicht benutzt: https://github.com/friends-of-contao/contao-privacy/blob/2.0.0-beta2/src/Resources/contao/dca/tl_member.php#L14

ben-eSM commented 6 years ago

Ok, das erklärt es natürlich und zeigt mal wieder, dass dev-master als Versionsstring nicht unbedingt zielführend ist. ;)

fritzmg commented 6 years ago

Ja komisch, im master branch ist es eigentlich auch korrekt.

ben-eSM commented 6 years ago

Das Problem ist, ich bin doof! Ich hab den prod cache geleert, aber nicht den dev... ;)