Unable to submit form
-
Hi, I got this error message.
[ERROR_MSG] => String could not be parsed as XML
Please help!
-
Hello @xavierwoocc
Can you please describe in detail that what you are trying to pass in XML? to understand and help you out, let me know,
Many Thanks!!
I’m receiving a similar error as follows:
21 December 2016 09:55:15 PHP 5.6.28Array
(
[date] => 21 December 2016 09:55:15
[select] => Cultivator
[firstname] => DANA
[lastname] => danaphree
[company] => test company
[website] => http://danapros.com
[youremail] => [email protected]
[message] => testing google inte again
[tel637] => 3104255788
[ERROR_MSG] => String could not be parsed as XML
[TRACE_STK] => #0 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\cf7-google-sheets-connector\lib\asimlqt\php-google-spreadsheet-client\src\Google\Spreadsheet\SpreadsheetFeed.php(45): SimpleXMLElement->__construct(”)
#1 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\cf7-google-sheets-connector\lib\asimlqt\php-google-spreadsheet-client\src\Google\Spreadsheet\SpreadsheetService.php(39): Google\Spreadsheet\SpreadsheetFeed->__construct(false)
#2 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\cf7-google-sheets-connector\lib\google-sheets.php(73): Google\Spreadsheet\SpreadsheetService->getSpreadsheets()
#3 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\cf7-google-sheets-connector\includes\class-gs-service.php(109): googlesheet->add_row(Array)
#4 [internal function]: Gs_Connector_Service->cf7_save_to_google_sheets(Object(WPCF7_ContactForm))
#5 D:\home\cannabiniers.com\wwwroot\wp-includes\class-wp-hook.php(298): call_user_func_array(Array, Array)
#6 D:\home\cannabiniers.com\wwwroot\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#7 D:\home\cannabiniers.com\wwwroot\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#8 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\contact-form-7\includes\submission.php(161): do_action(‘wpcf7_mail_sent’, Object(WPCF7_ContactForm))
#9 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\contact-form-7\includes\submission.php(28): WPCF7_Submission->submit()
#10 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\contact-form-7\includes\contact-form.php(645): WPCF7_Submission::get_instance(Object(WPCF7_ContactForm))
#11 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\contact-form-7\includes\controller.php(57): WPCF7_ContactForm->submit(true)
#12 D:\home\cannabiniers.com\wwwroot\wp-content\plugins\contact-form-7\includes\controller.php(18): wpcf7_ajax_json_echo()
#13 [internal function]: wpcf7_control_init(”)
#14 D:\home\cannabiniers.com\wwwroot\wp-includes\class-wp-hook.php(298): call_user_func_array(‘wpcf7_control_i…’, Array)
#15 D:\home\cannabiniers.com\wwwroot\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#16 D:\home\cannabiniers.com\wwwroot\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#17 D:\home\cannabiniers.com\wwwroot\wp-settings.php(470): do_action(‘wp_loaded’)
#18 D:\home\cannabiniers.com\wwwroot\wp-config.php(89): require_once(‘D:\\home\\cannabi…’)
#19 D:\home\cannabiniers.com\wwwroot\wp-load.php(37): require_once(‘D:\\home\\cannabi…’)
#20 D:\home\cannabiniers.com\wwwroot\wp-blog-header.php(13): require_once(‘D:\\home\\cannabi…’)
#21 D:\home\cannabiniers.com\wwwroot\index.php(17): require(‘D:\\home\\cannabi…’)
#22 {main}
)Hi, just checking in to see if I’m missing something, or doing something wrong to get the XML parse error. Any thoughts would be great. Thanks
Hello danaphree,
Looking at your log error it seems that there is an error being returned by google.
Are you on windows?
If so try setting CURLOPT_SSL_VERIFYPEER to false in
cf7-google-sheets-connector/lib/asimlqt/php-google-spreadsheet-client/src/Google/Spreadsheet/DefaultServiceRequest.php line number 194Hope this helps. Let us know.
You’re the man. Works perfectly now! Thanks so much for the quick reply! Lovin this plugin 🙂
Thanks, Feel free to give a Feedback so that other users may get this FREE Plugin reviews easily..!!
The topic ‘Unable to submit form’ is closed to new replies.