Keyword

Invalid backend response. Data is not JSON.

  • craig kennedy
  • craig kennedy's Avatar Topic Author
  • Offline
  • New Member
More
4 years 2 months ago #177000 by craig kennedy
Invalid backend response. Data is not JSON. was created by craig kennedy
Fresh instal of K2 in current version of Joomla (Joomla 3.9.21, K2 Version 2.10.3)
Everything works except when I go to add an image to an item, and browse the server. The media window appears, then I get an error

Invalid backend response.
Data is not JSON.,

But instead of it ending with just that, what I actually have is a complete page (screen shown below). I deleted the assets folder and ran the K2 install again but no change.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #177001 by JoomlaWorks
Replied by JoomlaWorks on topic Invalid backend response. Data is not JSON.
The JSON response may not validate as JSON data if some PHP notice/warning/error is also output at the response. This can happen e.g. because some system plugin is old and throws such warnings everywhere in the Joomla backend.

To verify this is the issue, switch error reporting to "none" in Joomla's Global Configuration.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • craig kennedy
  • craig kennedy's Avatar Topic Author
  • Offline
  • New Member
More
4 years 1 month ago #177002 by craig kennedy
Replied by craig kennedy on topic Invalid backend response. Data is not JSON.
ok error reporting set to none seems to clear the issue, so the question is, will this be a K2 plugin or some other one?

Thanks by the way

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #177003 by JoomlaWorks
Replied by JoomlaWorks on topic Invalid backend response. Data is not JSON.
It's most likely some other system plugin. If you switch error reporting to maximum and revisit the K2 Media Manager, open up your browser's console and check the JSON response's output. It should show the PHP errors/notices/warnings that cause the output not to validate as JSON data.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum