Loading animation stuck

4.75K viewsIssues
0

Whenever I post a question, it’s just stuck on loading. It worked perfectly in the beginning. Console says the following things:

Thanks so much for your help!

0

That mean, response is not valid JSON. Some PHP debug message has been delivered with ajax response. Check the response data of ajax and you’ll see some PHP error.

@Rahul, suggestion, can have some error checking to improve this. if backend return non-200 status, then show error message, stop spinner, instead of spinner hanging there.

Yep already added in RC version

Thanks Rahul. I am sorry but I have only basic skills and don’t know how to debug…

Could you maybe check it for me?
http://rheumaberatung.ch/patientenfragen/question/ich-muss-meine-bisphosphonat-therapie-aufgrund-nebenwirkungen-beenden-was-soll-ich-tun/

I know it’s a free template so I understand if you don’t have time to do it.

Ok – now I’m getting the error message (something went wrong on the server side). Commenting on a post works flawlessly, but asking a new question brings up the error message.

Ok, tried 2.4 RC, still getting the error.

Remote Address:213.239.217.243:80
Request URL:http://rheumaberatung.ch/wp-admin/admin-ajax.php
Request Method:POST
Status Code:500 Internal Server Error
Response Headers
view source
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:http://rheumaberatung.ch
Cache-Control:no-cache, must-revalidate, max-age=0
Connection:close
Content-Encoding:gzip
Content-Length:20
Content-Type:text/html; charset=UTF-8
Date:Thu, 08 Oct 2015 21:00:41 GMT
Expires:Wed, 11 Jan 1984 05:00:00 GMT
Pragma:no-cache
Server:Apache
Strict-Transport-Security:max-age=15768000
Vary:Accept-Encoding,User-Agent
X-Content-Type-Options:nosniff
X-Frame-Options:SAMEORIGIN
X-Powered-By:PHP/5.5.19
X-Robots-Tag:noindex
X-XSS-Protection:1; mode=block
Request Headers
view source
Accept:application/json, text/javascript, */*; q=0.01
Accept-Encoding:gzip, deflate
Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4,fr;q=0.2
Connection:keep-alive
Content-Length:1249
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Cookie:wordpress_f171d7034731aa1a9db93cd19f1949d3=Lou+Goetzmann%7C1444508202%7CBlAKwSFvoRontKL9cRhL74sD5YpH4u4tPOp5c7nZwdP%7C420e6a531084a698e254c64cd8f7306f07fdb5787a4177c03d76b6eddb2c97a3; frm_form6_f171d7034731aa1a9db93cd19f1949d3=2015-08-23+15%3A12%3A03; wp-settings-1=libraryContent%3Dbrowse%26editor%3Dhtml%26hidetb%3D1%26wplink%3D1%26urlbutton%3Dnone%26advImgDetails%3Dshow; wp-settings-time-1=1443950575; wp-settings-5=editor%3Dhtml; wp-settings-time-5=1444335352; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f171d7034731aa1a9db93cd19f1949d3=Lou+Goetzmann%7C1444508202%7CBlAKwSFvoRontKL9cRhL74sD5YpH4u4tPOp5c7nZwdP%7Cf613b2e3c95ebd1775a543fe0c6102a7221f63a1aef26a09fd7cefdc57570ca9; _gat=1; _ga=GA1.2.1974443953.1436813202
Host:rheumaberatung.ch
Origin:http://rheumaberatung.ch
Referer:http://rheumaberatung.ch/?page_id=742&question_id=706
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
X-Requested-With:XMLHttpRequest
Form Data
view source
view URL encoded
description:thetherththth
post_remote_image:
attachment_ids[]:
form_question_id:706
g-recaptcha-response:03AHJ_Vus6Z75GuiIEU4oS3WPGadSTrvqObhaEagO55tOQBINKYYxPTU1fDo1tRExlhwpJv1HFrgUgwKMaOJFNUK-ZcZg_G_UySGOAPu-46ko7F2OBJQl6UvBqhVfVpx5AXgTY9AaTAC1oL9HzsEGSvCylraphmk9g8QanKnfTFLr0p1gIIPOS7VIxE4toLShlsFqua4VA7k31znGlS6n9FtXA33G3tcONYWNKfcAkzGdk-21mHpX7CRZCoU0utp8WKcXaYFewOKio7tA6YnFVQNPbx4pUahk4i1u_9up727we1WOJivzvoSWLJvpIZpOLbGjYlJP1XqPXagg0NkHhBlbycDTW2Rm_0ub6km6aFFGDSc6nlWr9hqFhl5CEITYV0DG70ZvXAkWACaAJ0hKXIt814RAhrrg2O6JTHd34LLCpQ6H7nhdzVMFaLKvKHSAOm6aPgf9Sz43RyYfI7GiUpKRuwv4XY5JlIFMJfU9FW1KWMTjY_NJOUzvAWcIEK8EclFCErD8ufB0v19ifoVH6s0LhpRhX8kDcMiv7T24L6GuEkgT2-P8b_UrJxNwQGNwHvQAvr_0TtsTCWD1ix_wnMfSHwxAqphw9DYvjVjPmpDBL26zsRrOe2TgzArXmWNcPzmn1Vs6-vrkBADqxBi36fGxC3HEmEco_H8hvHERy6HQfYlga66TZoQXoMX1gKV_PUNJhbvKqI8G5oe1S5W9AaiyYTL3iZiUgE-ve_RGbhjOYXwH_jt8YT4qloQfG0nBnhF8nsAEzRSiDFL0ESuVmdHvRbDURito7RZHdLLwJXXpNsVVG1AF0KnN-dAqG2bJdQrAggbxaK9HZM9t5sG1-ejmHjghbvXoNec5cU2w7GjPLAP3Gq4ZiWS96ldDp03vMAloiq1dWDdL_AS0Cq_1R-nVdvQcXSnVWS1u0V347J75_X1Dh90ml4YI
ap_form_action:answer_form
__nonce:085a287087
_wp_http_referer:/?page_id=742&question_id=706
ap_ajax_action:answer_form
action:ap_ajax
ap_ajax_action:answer_form
action:ap_ajax

You are viewing 1 out of 1 answers, click here to view all answers.