Title: TypeError: xhr.responseJSON is null
Last modified: July 20, 2017

---

# TypeError: xhr.responseJSON is null

 *  [ruebezahl](https://wordpress.org/support/users/ruebezahl/)
 * (@ruebezahl)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/typeerror-xhr-responsejson-is-null/)
 * Hello,
    I use WordPress, CF7 and Conditional Fields for Contact Form 7 in the
   latest version. Unfortunately, when I submit my form, I sometimes get the error
   message in the JavaScript console:
 *     ```
       TypeError: xhr.responseJSON is null  scripts.js:241:13
       <anonym> ~/wp-content/plugins/cf7-conditional-fields/js/scripts.js:241:13
       dispatch ~/wp-includes/js/jquery/jquery.js:3:12392
       add/r.handle ~/wp-includes/js/jquery/jquery.js:3:9156
       trigger ~/wp-includes/js/jquery/jquery.js:3:11571
       a.event.trigger ~/wp-includes/js/jquery/jquery-migrate.min.js:2:8273
       y h~/wp-includes/js/jquery/jquery.js:4:22871
       c ~/wp-includes/js/jquery/jquery.js:4:26925
       onStopRequest resource://gre/modules/WebRequest.jsm:345:7
       ```
   
 * [My Testpage](http://expandeo.de/check/)
 * What can be the reason? Many thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/typeerror-xhr-responsejson-is-null/#post-9342417)
 * it’s a big form, so it might be due to too much data getting submitter trough
   the post request. Could by a setting in your PHP.ini config. In order to know
   for sure, could you create a smaller form and see if the error also occurs on
   that one?
 *  Thread Starter [ruebezahl](https://wordpress.org/support/users/ruebezahl/)
 * (@ruebezahl)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/typeerror-xhr-responsejson-is-null/#post-9344028)
 * Thank you for your quick response.
    The problem is, the error only occurs occasionally.
   The e-mail will be sent anyway, but no success message will be displayed and 
   the small arrows will rotate without end.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘TypeError: xhr.responseJSON is null’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ruebezahl](https://wordpress.org/support/users/ruebezahl/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/typeerror-xhr-responsejson-is-null/#post-9344028)
 * Status: not resolved