Undefined index error in AJAX response
-
Hi,
First off, thank you for the plugin.
WP_DEBUG found some things I thought you’d want to know about. I’m getting a few errors in the response from a contact form submission:
Notice: Undefined index: mail_2 in /home/user/public_html/site/assets/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 245 Notice: Undefined index: subject in /home/user/public_html/site/assets/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 246 Notice: Undefined index: sender in /home/user/public_html/site/assets/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 247 Notice: Undefined index: recipient in /home/user/public_html/site/assets/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 248 Notice: Undefined index: additional_headers in /home/user/public_html/site/assets/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 249 {"mailSent":true,"into":"#wpcf7-f19-p134-o1","captcha":null,"message":"Thank you for your response! It has been sent."}
(errors’ file paths modified, of course)
With debug off, it works.
Thanks!
VERSIONS: WP: 4.7, CF7: 4.6, CF7CF: 0.2.8.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Undefined index error in AJAX response’ is closed to new replies.