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

Frontend-Modul Registrieren und Notification Center bringt Fehler #285

Closed
berecont opened this issue Apr 20, 2023 · 1 comment
Closed

Frontend-Modul Registrieren und Notification Center bringt Fehler #285

berecont opened this issue Apr 20, 2023 · 1 comment

Comments

@berecont
Copy link

Contao 4.13.20
Notification Center 1.7.1
Benachrichtigungstyp: Mitglied Registrierung
Benachrichtigungstyp: Mitglied Aktivierung

Frontend-Modul:
Type Registrierung
Bei 'E-Mail-Einstellungen':
• KEIN Haken bei 'Aktivierungsmail verschicken'
• Bestätigungseite ausgewählt
• Benachrichtigung: mein Mitglied Registrierung
• Aktivierungsbenachrichtigung: mein Mitglied Aktivierung

in der parameters.yml sind die SMTP Daten eingepflegt und die Absender-E-Mail ist die gleiche, wie in den Benachrichtgungen der Benachrichtigungstypen eingepflegt ist (unter Absender-E-Mail).
Als Empfänger ist ##member_email## eingetragen

Beim Klick auf Registieren erhalte ich einen Error im Frontend und im Log dieses:

[2023-04-20T13:13:51.902829+02:00] request.INFO: Matched route "tl_page.4". {"route":"tl_page.4","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.4","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.4","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://meinedomain.at/registrieren.html","method":"POST"} []
[2023-04-20T13:13:51.921801+02:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2023-04-20T13:13:53.579041+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "preg_match_all(): Argument #2 ($subject) must be of type string, null given" at /var/www/vhosts/hosting4711.netcup.net/httpdocs/vorteil/vendor/codefog/contao-haste/src/StringParser.php line 85 {"exception":"[object] (TypeError(code: 0): preg_match_all(): Argument #2 ($subject) must be of type string, null given at /var/www/vhosts/hosting4711.netcup.net/httpdocs/vorteil/vendor/codefog/contao-haste/src/StringParser.php:85)"} []

Debug-Mode bringt preg_match_all(): Argument #2 ($subject) must be of type string, null given

Es kommt auch keine E-Mail mit dem Bestätigungslink an.

Gegencheck: mit den Core-Einstellungen läuft eine Registrierung durch

@fritzmg
Copy link
Sponsor Collaborator

fritzmg commented Apr 20, 2023

This is likely an issue in codefog/contao-haste, not terminal42/contao-notification_center.

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

3 participants