: Data did not match any of the schemas described in anyOf.
-
getting “: Data did not match any of the schemas described in anyOf.” error when submitting form
plugin 1.5.2
wordpress 4.6.1
-
Just added mailchimp plugin to our site today, and getting the exact same error
Mailchimp Version 1.5.2
Wordpress 4.6.1Hey y’all,
Would you each mind sharing some more information so I can take a look into this? Specifically:
1. A link to the page on your site where you’re seeing this issue
2. A link to the hosted signup form from your MailChimp account that is connected to your WP site through the plugin (from the MC dashboard, go to ‘Lists’ > choose the connected list > ‘Signup forms’ > ‘General forms’ > copy the eepurl provided)
3. Did either of y’all modify your plugin code in any way? If so, please provide a workflow so I can test things out there.I’ll keep an eye out for each of your replies!
Thanks,
GarnetHi Garnet,
my details are:
1. footer form at: https://appleandeve.webfactional.com
2. https://eepurl.com/bq9mCj
3. no modsThanks,
ChrisThanks so much, @tuffstudio!
I see the error occurring there, unfortunately I’m not able to replicate the issue. Could you provide a bit more detail so I can keep digging?
1. A screenshot of the settings you have under the MailChimp plugin’s settings (from the WP dashboard > ‘Plugins’ > ‘Installed Plugins’ > ‘Settings’ under ‘MailChimp’). Be sure to obscure any personal info when sharing like your account in the top right!
2. What version of the plugin are you using? It will be listed on the ‘Plugins’ page under the MailChimp plugin.
3. Have you tried disconnecting and reconnecting the integration? Give that a shot if you haven’t yet, and make sure you’re using the latest version (1.5.2).Let me know how it goes!
-Garnet
Hi,
As stated in original message:
plugin 1.5.2
wordpress 4.6.1I’ve tried two separate Lists, both connections doesn’t work – same error
-
This reply was modified 8 years, 6 months ago by
tuffstudio.
Thanks again for that info. I’m still unable to replicate the issue. It’s very strange.
I don’t think it’s anything with your list in MailChimp or your MailChimp account. It looks like the issue likely lies somewhere on the WP side of things. Thanks also for being patient and helpful with the information provided so far!
Can you let me know what theme you’re using, as well as a list of all other active plugins that you’re using with your site?
@t22james if you’re still tuning in, can you provide:
1. the link to your site where the issue is occurring,
2. the link to the MailChimp hosted signup form for the list connected with the plugin,
3. the theme you’re using, and
4. a list of all other active plugins you have enabled?Looking forward to getting to the bottom of this with you guys. I’ll keep an eye on the thread for replies.
Best,
GarnetSorry I probably can’t be much help- I’m testing from a local MAMP site. Hosted form is https://eepurl.com/bgsB_X
I can say that i have deactivated all plugins except for advanced custom fields pro, and the problem persists.
I also did a test on twentyfifteen theme, with NO other plugins at all, and in that case actually the plugin didn’t work at all… no validation, and didn’t even get that error.
I’m curious where that error text (“Data did not match…”) is even coming from? I’ve searched the local plugin codebase and it doesn’t seem to be there… is it being returned from the API?
Hi,
I’ve tried with all plugins deactivated and different themes (I’m using custom theme for that website) to no avail.
I always get that error.
Thanks to both of you for that information.
@t22james Yeah, that error is being returned from the MailChimp API. What I’m seeing is that when you attempt to subscribe a new member through the form it passes back some odd parameters in place of merge fields, which throws an error. I’ve been trying to replicate it but so far have been unsuccessful- my site passes back merge fields as expected. It looks like the call is being modified before it hits MailChimp, perhaps by another plugin.
Can you try disabling that Advanced Custom Fields Pro plugin to see if that makes a difference? Is the form widget contained in one of the custom fields created by that plugin? If so, try moving the widget into the regular sidebar and testing then as well.
I’m still trying to dig in and keep testing, and I’ll keep you posted with what I find. Thanks again for keeping in touch and feel free to update the thread with any new information.
-Garnet
@mcsupport hmm here’s an idea- we are running over https. @tuffstudio how about you?
I suspect this may be causing issues, as I just tried an older version of your plugin (1.4) which has a different “connect” mechanism, and received an error while trying to connect the mailchimp account
error! POST to https://development.local.dev/index.php?mcsf_action=authorized&salt=36f6ba7bc160bfa32a2d41358ca5603b&user_id=1 failed: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
note the mention of SSL…
-
This reply was modified 8 years, 6 months ago by
t22james.
Hey again,
@tuffstudio’s site that is experiencing the issue is not running https://.
@t22james, can you describe how you’ve added the form to your page? For example, did you add it with advanced custom fields, shortcode, widget, or another method? Also, how did disabling advanced custom fields and moving the MailChimp List Subscribe Form plugin into the sidebar go- any luck there?
Best,
Garnet@mcsupport yes I’m in sidebar, and have now also disabled advanced custom field (unfortunately it’s template tags don’t fail silently so had to do some fixing up), still no luck. However in the process I thought of checking my php error log and found these:
[13-Sep-2016 20:55:45 UTC] PHP Notice: Array to string conversion in /wp-content/plugins/mailchimp/mailchimp.php on line 893 [13-Sep-2016 20:55:45 UTC] PHP Notice: Array to string conversion in /wp-content/plugins/mailchimp/mailchimp.php on line 893 [13-Sep-2016 20:55:45 UTC] PHP Notice: Array to string conversion in /wp-content/plugins/mailchimp/mailchimp.php on line 893 [13-Sep-2016 20:55:45 UTC] PHP Notice: Array to string conversion in /wp-content/plugins/mailchimp/mailchimp.php on line 893 [13-Sep-2016 20:55:46 UTC] PHP Notice: Undefined variable: field_name in /wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 82
Hi,
I’m getting same kind of error logs:
Notice: Array to string conversion in /wp-content/plugins/mailchimp/mailchimp.php on line 893 Notice: Array to string conversion in /wp-content/plugins/mailchimp/mailchimp.php on line 893 Notice: Array to string conversion in /wp-content/plugins/mailchimp/mailchimp.php on line 893 Notice: Undefined variable: field_name in /wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 82
Hi,
I would like to report the same problem.I’m in the process of upgrading to Plugin V1.5.2 because the current plugin (V1.2.14) uses the old API which does not work anymore starting tomorrow Sep15th as mentioned in the MailChimp email of today. I’m using an active Mailchimp List which was created in the year 2010.
I’m using HTTP (not HTTPS) but on port 12111 (opposed to 80).
When submitting a new email+name the following error message is is displayed in the WP Widget area: “Data did not match any of the schemas described in anyOf.” .
The following PHP errors occur:
Notice: Array to string conversion in C:\myhtdocs\wordpress\wordpress\wp-content\plugins\mailchimp\mailchimp.php on line 893 Call Stack # Time Memory Function Location 1 0.0004 362528 {main}( ) ...\index.php:0 2 0.0007 364280 require( 'C:\myhtdocs\wordpress\wordpress\wp-blog-header.php' ) ...\index.php:17 3 0.0009 378528 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-load.php' ) ...\wp-blog-header.php:13 4 0.0012 390360 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-config.php' ) ...\wp-load.php:39 5 0.0018 465208 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-settings.php' ) ...\wp-config.php:92 6 0.4692 21985288 do_action( ) ...\wp-settings.php:411 7 0.5109 22355640 mailchimpSF_request_handler( ) ...\plugin.php:524 8 0.5110 22355640 mailchimpSF_signup_submit( ) ...\mailchimp.php:230 9 0.5113 22364600 mailchimpSF_merge_submit( ) ...\mailchimp.php:740 ( ! ) Notice: Array to string conversion in C:\myhtdocs\wordpress\wordpress\wp-content\plugins\mailchimp\mailchimp.php on line 893 Call Stack # Time Memory Function Location 1 0.0004 362528 {main}( ) ...\index.php:0 2 0.0007 364280 require( 'C:\myhtdocs\wordpress\wordpress\wp-blog-header.php' ) ...\index.php:17 3 0.0009 378528 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-load.php' ) ...\wp-blog-header.php:13 4 0.0012 390360 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-config.php' ) ...\wp-load.php:39 5 0.0018 465208 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-settings.php' ) ...\wp-config.php:92 6 0.4692 21985288 do_action( ) ...\wp-settings.php:411 7 0.5109 22355640 mailchimpSF_request_handler( ) ...\plugin.php:524 8 0.5110 22355640 mailchimpSF_signup_submit( ) ...\mailchimp.php:230 9 0.5113 22364600 mailchimpSF_merge_submit( ) ...\mailchimp.php:740 ( ! ) Notice: Undefined variable: field_name in C:\myhtdocs\wordpress\wordpress\wp-content\plugins\mailchimp\lib\mailchimp\mailchimp.php on line 82 Call Stack # Time Memory Function Location 1 0.0004 362528 {main}( ) ...\index.php:0 2 0.0007 364280 require( 'C:\myhtdocs\wordpress\wordpress\wp-blog-header.php' ) ...\index.php:17 3 0.0009 378528 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-load.php' ) ...\wp-blog-header.php:13 4 0.0012 390360 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-config.php' ) ...\wp-load.php:39 5 0.0018 465208 require_once( 'C:\myhtdocs\wordpress\wordpress\wp-settings.php' ) ...\wp-config.php:92 6 0.4692 21985288 do_action( ) ...\wp-settings.php:411 7 0.5109 22355640 mailchimpSF_request_handler( ) ...\plugin.php:524 8 0.5110 22355640 mailchimpSF_signup_submit( ) ...\mailchimp.php:230 9 0.8937 22697520 MailChimp_API->post( )
Thanks for your help,
Rolf.-
This reply was modified 8 years, 6 months ago by
poluna.
-
This reply was modified 8 years, 6 months ago by
- The topic ‘: Data did not match any of the schemas described in anyOf.’ is closed to new replies.