All of a sudden image-upload seems broken. No matter if I want to upload one single image or several images.
Chrome console says:
Uncaught SyntaxError: Unexpected token
in JSON at position 414
at JSON.parse (<anonymous>)
at Function.parseJSON (JqueryCore.js?v=1535110864:2)
at XMLHttpRequest.<anonymous> (InputfieldImage.js?v=122-1535110864:1973)
// File uploaded: called for each file
xhr.addEventListener("load", function() {
xhr.getAllResponseHeaders();
var response = $.parseJSON(xhr.responseText); // line 1973
The spinning animation GIF keeps on spinning forever...
I thought I have seen a forum thread about such an error, but I can't find it anymore.
If I inspect https://dev.mysite.com/backstage/page/edit/?&id=11203&InputfieldFileAjax=1 I only see headers, no content.
content-type: application/octet-stream (in request header)
in response headers:
x-tracy-ajax: 1
x-xss-protection: 1; mode=block
Does anyone know what could cause this?
PW 3.0.111 / PHP 7.2.8