Preference Center Not Working

Hi All,

I have been working with a client who requires a specific preference center and we have tried everything and it does not seem to be working.

Our Setup:

  1. Create a new landing page and set as preference center.
  2. Create an email and set the preference center as the one in point #1.
  3. Send e-mail with {unsubscribe_url}
  4. Click on unsubscribe link in private browser and separate browser.

Results in standard unsubscribe and not brining up the “preference center”

The only error I see in the logs are:
2021/05/18 14:09:33 [error] 31731#31731: *5904078 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined index: preferred_channel in /var/www/mautic/vendor/symfony/form/FormView.php on line 113” while reading response header from upstream, client: 84.228.126.65, server: customer_mautic.com, request: “GET /email/unsubscribe/60a3ca85934fb335085643 HTTP/2.0", upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:“, host: “customer_mautic.com

@jensolsson

I am having the same issue. I see it has been reported as a bug at Mautic is changing my custom preference center page based on the email template · Issue #9766 · mautic/mautic · GitHub