Fix the Email Optin Module "Configuration Error" Message

This post may contain referral links which may earn a commission for this site

Fix the Email Optin Module "Configuration Error" Message

Is your Divi signup form playing up? Here's how to get rid of the "Configuration Error" message.

If your Divi Email Optin form gives you (or your users) the following error message:

Configuration Error

The first thing to do is confirm that your email optin form api key and list are correctly set. Assuming they are and you still get the error, here's something to try…

Disable Caching on your Email Optin Form Pages

The "Configuration Error" message is triggered by Divi when the optin form's "nonce" value is incorrect. A nonce is a random value generated each time the optin form is displayed, and is typically used for things such as preventing the form from being submitted multiple times by accident.

I found that when the page with the optin form is cached (i.e. generated only once, not each time a user visits), the nonce is not updated. The result is that when caching is enabled, the form fails to submit.

To confirm whether this is the issue on your site, try temporarily disabling caching. Then reload the page with the signup form and submit it.

If caching was the issue, then the form should be working again.

Many caching plugins allow you exclude certain pages from being cached. This allows you to re-enable caching across your site and selectively disable it on the pages which have an email optin form.

How to disable caching for a particular page:

  • Cache Enabler plugin – you can exclude pages by entering their ids in the Cache Exclusions field of the settings page.

Want get more out of Divi?

Hundreds of new features for Divi
in one easy-to-use plugin

8 Comments

  1. I found a solution. The problem with this error may be that the first and last names are required for writing the newsletter on the mailchim side but that on the site, the registration form is not what you want. . By adding a Name and First Name field, it works. Alternatively, go to the "Audience Fields and * | MERGE | * Tags" page on the newsimpeter log setting and disable the required next to the Last Name and First Name fields.

    Reply
    • Interesting. Thanks for sharing that, Nicolas 🙂

      Reply
  2. The error I'm getting just says "An error occurred, please try later" on my website. I have no idea what that means and can't figure out how to fix it.

    Reply
    • Hi Dawn, that error seems to be triggered by Divi when there is an error subscribing a user to a mailchimp list. I'd start by looking at anything that might prevent your user from being subscribed. For example, is the email address correct? And is the email address you're trying with already in the list (which I think can prevent it from being added)? Maybe also try adding it manually to the list within mailchimp to see if it throws any errors there. Hopefully that helps, but let me know if you're still having problems with it. Thanks!

      Reply
      • Hi Dawn & Dan

        In my case the error showed up because the Mail-Adress I tried to add, was in the list before and was previously removed. To rejoin, you'll need to sign up using a MailChimp form, so it doesn't work with Divi anymore. Just Info!

        Reply
        • Thanks Su. You're comment lead me to find this Stack overflow thread which confirms what you're saying. It looks like the way you remove the user from the list in the first place makes a difference. I'm not sure there is much that can be done in Divi to fix this. The only approach I can think of would be to detect this error and redirect the user to the main MailChimp form. If I figure out how to do this, I'll update here. Anyway, thanks again, Su!

          Reply
  3. Hello
    Can you explain how it is done in a more detailed way?

    Reply
    • Hi patricia, are you able to let me know which caching / performance plugin(s) you are currently using? That way I should be able to give you instructions that will work for your site. Thanks!

      Reply

Leave a Reply to patricia Cancel reply

Your email address will not be published. Required fields are marked *

Hundreds of new features for Divi
in one easy-to-use plugin

8 Comments

  1. I found a solution. The problem with this error may be that the first and last names are required for writing the newsletter on the mailchim side but that on the site, the registration form is not what you want. . By adding a Name and First Name field, it works. Alternatively, go to the "Audience Fields and * | MERGE | * Tags" page on the newsimpeter log setting and disable the required next to the Last Name and First Name fields.

    Reply
    • Interesting. Thanks for sharing that, Nicolas 🙂

      Reply
  2. The error I'm getting just says "An error occurred, please try later" on my website. I have no idea what that means and can't figure out how to fix it.

    Reply
    • Hi Dawn, that error seems to be triggered by Divi when there is an error subscribing a user to a mailchimp list. I'd start by looking at anything that might prevent your user from being subscribed. For example, is the email address correct? And is the email address you're trying with already in the list (which I think can prevent it from being added)? Maybe also try adding it manually to the list within mailchimp to see if it throws any errors there. Hopefully that helps, but let me know if you're still having problems with it. Thanks!

      Reply
      • Hi Dawn & Dan

        In my case the error showed up because the Mail-Adress I tried to add, was in the list before and was previously removed. To rejoin, you'll need to sign up using a MailChimp form, so it doesn't work with Divi anymore. Just Info!

        Reply
        • Thanks Su. You're comment lead me to find this Stack overflow thread which confirms what you're saying. It looks like the way you remove the user from the list in the first place makes a difference. I'm not sure there is much that can be done in Divi to fix this. The only approach I can think of would be to detect this error and redirect the user to the main MailChimp form. If I figure out how to do this, I'll update here. Anyway, thanks again, Su!

          Reply
  3. Hello
    Can you explain how it is done in a more detailed way?

    Reply
    • Hi patricia, are you able to let me know which caching / performance plugin(s) you are currently using? That way I should be able to give you instructions that will work for your site. Thanks!

      Reply

Leave a Reply to patricia Cancel reply

Your email address will not be published. Required fields are marked *