- Posts: 5
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Media Manager Error: Invalid backend response. Data is not JSON.
Media Manager Error: Invalid backend response. Data is not JSON.
- Terry Pierce
-
Topic Author
- Offline
- New Member
Invalid backend response.
Data is not JSON.
The most recent request was denied because it had an invalid security token. Please refresh the page and try again.
I'm running the most recent Joomla & K2 versions and have tried disabling error reporting but still get the message.
Any other recommendations would be appreciated!
Please Log in or Create an account to join the conversation.
- Terry Pierce
-
Topic Author
- Offline
- New Member
- Posts: 5
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
In any case, open your browser's dev tools console and check the errors displayed...
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
I'm starting to get this error too and I'm on K2 v2.10.3
Any advice?
The only error I get is:
Missing: www.sawo.dk/da/administrator/css/theme.css
Regards
Thomas
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
You need to open up your browser's dev tools, switch to the Network and then perform any actions. There you should see the AJAX actions of the file manager and in there you'll spot the issue.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Attachments:
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
The error happens in this request: /administrator/index.php?option=com_k2&view=media&task=connector&ff86b844a34b8546e70305cf82b5b429=1&cmd=open&target=&init=1&tree=1&_=1621427068790
Accessing this URL directly in the browser with an active admin session, responds with the following errormessage: "The most recent request was denied because it had an invalid security token. Please refresh the page and try again."
At the same time we get errors in PHP error log:
[19-May-2021 16:30:28 Europe/Copenhagen] PHP Notice: Trying to get property 'alias' of non-object in D:\wwwroot\components\com_k2\router.php on line 292
[19-May-2021 16:30:28 Europe/Copenhagen] PHP Notice: Trying to get property 'id' of non-object in D:\wwwroot\components\com_k2\router.php on line 316
Site is running on IIS 10, Windows 2019
PHP version: 7.4.16 NTS
K2 version: 2.10.3
Joomla version: Joomla! 3.9.26 Stable [ Amani ] 13-April-2021 15:00 GMT
MySql database version: 8.0.19
Please advise.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Please try v2.10.4 (dev) from getk2.org/downloads/?f=K2_Development_Release.zip - you can safely upgrade.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Tried the DEV, but same error ...
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Paste it back here.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Look for that.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Attachments:
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
- Posts: 6227
Does Chrome report anything else in its "Console" tab?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
- Offline
- Premium Member
- Posts: 132
Attachments:
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Media Manager Error: Invalid backend response. Data is not JSON.