Support » Plugin: MailChimp Forms by Optin Cat - Grow Your MailChimp List » redirect to “undefined” URL

  • in eoi-functions.php you missed an space before “data” in line 122.
    this results in <form […]class='[…]‘data-fca_eoi_list_id[…]

    the data attributes get lost and the redirect url after the ajax call for the registration is undefined.
    happens if you resave forms with the newest version.

    quick workaround, functions.php:

    function fix_fca_eoi_alter_form($html) {
      return str_replace("'data", "' data", $html);
    }
    add_filter('fca_eoi_alter_form', 'fix_fca_eoi_alter_form');

    resave all forms after adding this code.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘redirect to “undefined” URL’ is closed to new replies.