When I go into an article, and then click to upload an image I receive the error:

The server returned an invalid JSON response.

I actually receive the error twice in a row if that helps. Can anyone help to explain why this might happen?

I have debugging turned on. Could that be the cause?

It doesn't show any images or folders, but navigating to the "media manager" does show these items.

  • 1
    I'm voting to close this question as off-topic because as it appears to be a bug in Joomla and should be raised on the Issue Tracker
    – Lodder
    Commented May 22, 2019 at 7:02

1 Answer 1


This only occurs when debug is turned on and it is a JCE issue.

I have contacted JCE separately.

  • So Joomla is effectively printing the expected json plus the debugging text which renders the whole enchilada as an invalid json string? Were you able to use your browser's developer tools to see the exact content generated? Commented May 20, 2019 at 20:40
  • So if this is a bug to be fixed in the Joomla core, are we keeping this page alive? Commented May 21, 2019 at 22:53
  • This was a JCE error my bad
    – Eoin
    Commented May 21, 2019 at 23:31
  • 1
    I can't delete it on my phone I'll do it from PC
    – Eoin
    Commented May 21, 2019 at 23:33
  • I think although it is off topic, it might be something that someone else runs into so perhaps it should be left for Google's sake? What are your thoughts? It was JCE but someone else might think it was Joomla! and it helps preserve Joomlas reputation by answering the question
    – Eoin
    Commented May 30, 2019 at 16:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.