Your software
My Mautic version is: 5.2.2 (fresh Installation)
My PHP version is: 8.1.31
My Database type and version is: MySQL 8.0.41
Your problem
My problem is:
That I have a standard Double Opt-In campaign which I cloned for several other mailing lists. With every campaign I got different issues, there is only one that works as it should.
The main mailing list double opt-in campaign already sends the welcome message even before the subscriber confirmed their emails by visiting a specific webpage. (campaign 1)
Another email-course double opt-in campaign sends the email with the confirmation link the visitor needs to click. If they click, the campaign always triggers the page visit as failed. (campaign 2)
All campaigns are set up the same way. All email are set up the same way. I wonder where the issue is.
This is how the working campaign looks like:
These errors are showing in the log:
Nothing in the Mautic logs. PHP error log showed only the following:
PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /PathToMautic/docroot/app/bundles/ReportBundle/Builder/MauticReportBuilder.php on line 403
Edit 2025-02-25:
Reviewing the test subscribers, I recognized that campaign actions about changing the subscribers segment happened at the moment the person submitted the subscribe form. It looks like none of the condition steps are adhered to. How could this happen?
Did some more testing with campaign 1 above, which sends all messages even if the email was not confirmed. With one email today, the campaign sends all messages again. With different email, it waits for the confirmation page visit, but then does not send anything as so the page visit failed.
Steps I have tried to fix the problem:
I cloned the campaign, which works fine, but it did not change anything. The cloned campaigns still act as described above. The documentation wasn’t helpful with solving the issue. Nor did I found anything helpful on this forum or the Internet.
I tried various settings with the Visited Page item in the respective campaigns., like:
- Only Page URL stated with exact URL
- Only Page URL stated with URL ending with *
- Page exact page URL and Page selected from Drop-Down-List
- Page URL ending with * and Page selected from Drop-Down-List
None made a difference.
This is the settings I mentioned above:
Hopefully, one of you could provide some direction, what could be wrong.
Thanks!