Your software
My Mautic version is: 2.15.1
My PHP version is: 7.1.28
Your problem
My problem is: The email address of an existing contact cannot be updated via Mautic form. I have used the following steps to produce the problem, which creates a new Mautic contact, instead of updating the email address of the existing contact.
- Make sure that ‘Show contact preference settings’ is set to Yes in Mautic Configuration.
- Create a contact in Mautic, and add it to a segment.
- Create a standalone Mautic form with an email address form field. Make sure that Save Result of the email-address form field is set to yes, and ‘Auto fill data’ is set to yes.
- Create a preference center landing page, with preference center elements ({segmentlist}, {saveprefsbutton}, {successmessage}), and the Mautic form ({form=ID}).
- Create a segment Mautic email with the above landing page as its preference center.
- Send the Mautic email.
- Open the received email (in a separate web browser without Mautic login), click Unsubscribe at the bottom of the email, and submit a new email address in the form that show up on the newly opened web page with the current email address pre-filled.
- Check the contact page in Mautic.
These errors are showing in the log: No error in the Mautic log.
Steps I have tried to fix the problem: None. I’ve read the following relevant references, but they do not contain any helpful information.
https://forum.mautic.org/t/can-mautic-forms-update-existing-contacts/10797
https://forum.mautic.org/t/update-adjust-existing-contact-form/9752