Unreadable response error every time I try to edit booking form

WordPress Event Management, Calendars & Registration Forums Report A Bug Unreadable response error every time I try to edit booking form

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 8 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23418

    I get this error when trying to make any edits to the booking form: “Error: (200) Unreadable response. See console for response recieved.” Here’s a screen shot of the error and my console after I tried to add a Phone field:

    enter image description here

    Brian Reeves
    #23430

    Hi Michael,

    What does the network tab say? There should be a request to yoursite.com/wp-admin/admin-ajax.php?action= eo-bfc-form-element – what is the response to that request?

    Stephen Harris
    #23436
    Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
    
    Warning: Cannot modify header information - headers already sent in Unknown on line 0
    {"success":true,"data":{"element":{"label":"Phone","placeholder":"","type":"phone","name":"Phone","description":"","required":false,"field_type":"text","position":-1,"id":19}}}
    
    Brian Reeves
    #23453

    Hi Michael,

    Thanks. The warning message is corruping the ajax response. The plug-in doesn’t use $HTTP_RAW_POST_DATA, but it appears that even so the warning message will be displayed unless turned off: http://stackoverflow.com/questions/26261001/warning-about-http-raw-post-data-being-deprecated

    Do you have access to your php.ini file to set always_populate_raw_post_data = -1, or are you able to ask your host to do this for you?

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.