• Resolved boka003

    (@boka003)


    Hello,

    I have problem whit subscribe form.

    Here is my code:

    
    <!-- Begin Mailchimp Signup Form -->
    <link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    	#mc_embed_signup{background: url("https://volimpodgoricu.me/wp-content/uploads/2019/09/IMG-7f9786f7bdb95428d597a7534b7a8157-V1-1.jpg"); clear:left; font:14px Helvetica,Arial,sans-serif; high:300px; width:300px;}
    	/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
    	   We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
    </style>
    <div id="mc_embed_signup">
    
      <div id="mc_embed_signup_scroll">  
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    	
    
    <div class="mc-field-group">
    	
    	<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Email" required>
          <br 
    <div class="mc-field-group">
    	
    	<input type="text" value="" name="FNAME" class="" id="mce-FNAME"  placeholder="Ime">
    
    </div>
    
    </div>	<div id="mce-responses" class="clear">
    		<div class="response" id="mce-error-response" style="display:none"></div>
    		<div class="response" id="mce-success-response" style="display:none"></div>
    	</div>    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
        <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_87ca1e8c995c3da2fbf37eb68_d885b4e5c9" tabindex="-1" value=""></div>
        <div class="clear"><input type="submit" value="Pretplati se" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
        </div>
    
    </div>
    <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
    <!--End mc_embed_signup-->
    

    Here is my error log:

    
    [2019-09-20 12:25:52] ERROR: Form 354085 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
    - ADDRESS : Please enter a value
    Request: PUT https://us18.api.mailchimp.com/3.0/lists/d885b4e5c9/members/90c054ec045947a700ac591c7ce180e4 - {"email_address":"diza**********@gm***.com","interests":{},"merge_fields":{"FNAME":"Boris"},"status":"pending","email_type":"html","ip_signup":"185.65.122.242","tags":[]}
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"5f26634b-f756-4095-99f0-9142b331c63f","errors":[{"field":"ADDRESS","message":"Please enter a value"}]}
    [2019-09-20 12:27:02] ERROR: Form 354085 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
    - ADDRESS : Please enter a value
    Request: PUT https://us18.api.mailchimp.com/3.0/lists/d885b4e5c9/members/90c054ec045947a700ac591c7ce180e4 - {"email_address":"diza**********@gm***.com","interests":{},"merge_fields":{"FNAME":"Boris"},"status":"pending","email_type":"html","ip_signup":"185.65.122.242","tags":[]}
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"709d18f2-352a-4d9f-b9ca-ff7bacdd8f4b","errors":[{"field":"ADDRESS","message":"Please enter a value"}]}
    [2019-09-20 12:27:39] ERROR: Form 354085 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
    - ADDRESS : Please enter a value
    Request: PUT https://us18.api.mailchimp.com/3.0/lists/d885b4e5c9/members/90c054ec045947a700ac591c7ce180e4 - {"email_address":"diza**********@gm***.com","interests":{},"merge_fields":{"FNAME":"Boris"},"status":"pending","email_type":"html","ip_signup":"185.65.122.242","tags":[]}
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"4f4d6b60-eb7b-406e-872a-172e52e786f0","errors":[{"field":"ADDRESS","message":"Please enter a value"}]}
    
    

    I have name and email fields and both of them are required.
    I dont have any other required fields

    • This topic was modified 5 years, 6 months ago by boka003.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Lap

    (@lapzor)

    Hi,

    First of all, please note that it’s not recommended to copy the embedded form code from a MailChimp.com generated form into the Mailchimp for WordPress plugin. It’s best to create the whole form in our plugin with the buttons above the form fields editor.

    The errors indicate that the Address field is set as required and is not (fully) included. You can mark the address field as “not required” in your MailChimp.com list settings.

    Extra sidenote: The field of the type “address” has some strict validation on it and data is only accepted if it’s a full and complete address (including country etc). We recommend using normal text fields instead.

    ?Please see https://kb.mc4wp.com/fix-the-oops-something-went-wrong-error/
    ?
    Hope that helps. If you have any questions, please let us know!

    Thread Starter boka003

    (@boka003)

    Thank you!

    Now users can subscribe using form. But confirmation email das not come.

    Error that i have is:

    
    [2019-09-20 19:59:12] WARNING: Comment Form > No Mailchimp lists were selected
    [2019-09-20 20:39:16] WARNING: Comment Form > No Mailchimp lists were selected
    [2019-09-21 11:17:25] WARNING: Comment Form > No Mailchimp lists were selected
    [2019-09-22 06:44:59] WARNING: Comment Form > No Mailchimp lists were selected
    [2019-09-22 09:31:19] WARNING: Comment Form > No Mailchimp lists were selected
    [2019-09-24 10:31:47] WARNING: Comment Form > No Mailchimp lists were selected
    
    

    But i have selected list: https://prntscr.com/paa22w
    I have created opt-in email; https://prntscr.com/paa2xa

    Thanks

    • This reply was modified 5 years, 6 months ago by boka003.
    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    The error is related to our integration with your “Comment Form”. Please go to “MC4WP > Integrations” menu, click on “Comment Form Integration” and make sure that you have selected a list.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Oops. Something went wrong. Please try again later.’ is closed to new replies.