I have a weird behaviour with Version 5.2 and 5.3 and i have no idea where to start debugging…i installed a sample version for demonstration / reproduction here:
When i login and click on the edit profile page in the leftMenu, the page renders weird stuff like
{“Content”:"
\n\n\t
\n\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\n\t\t\n\t\t\tMy Profile</span>\n\t\t\n\t\n</div>\n\n\t\t\t\t\n\t\t\t</div>\n\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t… and so on…
Now i hit F5 to relaod the page and everything renders just fine… This happens with several pages in the admin area.
Has anyone an idea what could cause such an error?
OK, so the underlying cause might be difficult to work out, but it looks like the request for the edit form is being responded to with the wrong content type.
Your server seems to be returning a text/html response, whereas I think it should be application/json or similar.
Hello everyone, i found the problem and just wanted to share it, in case anyone runs into the same thing.
I made a simple error i constantly oversaw all the time. in 2 of my php-Files (DataObjects and stuff), my code started with a blank line instead of “<? php”.