Error decoding JSON data: Syntax error + sef urls not working

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
stawebnice
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Sep 19, 2012 6:25 am
Location: Czech Republic
Contact:

Error decoding JSON data: Syntax error + sef urls not working

Post by stawebnice » Thu Aug 09, 2018 6:33 am

Hi,
I have just noticed that on my web that has been updated to 3.8.11 the urls from menus are not sef but look like http://www.zamecnictvibrno.cz/?Itemid=819.

When I go to menu, I see message Component 'com_content' does not exist. under some unpublished menu items and when I try to edit any menu item (even published), I get this error:

An error has occurred.

0 Error decoding JSON data: Syntax error

Fatal catcher shows this error:
Error message data:
1 Error decoding JSON data: Syntax error in file:
/data/web/virtuals/95474/virtual/www/domains/zamecnictvibrno.cz/libraries/vendor/joomla/registry/src/Format/Json.php
line: 78

I tried updating and reinstalling Joomla! but it has no effect.

The site works in front end and sef urls from Google are redirected to the correct pages (even though there are the itemid in the address bar instead of the sef url.

Please help, is there a way to fix this?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: Error decoding JSON data: Syntax error + sef urls not working

Post by Webdongle » Thu Aug 09, 2018 9:24 am

stawebnice wrote:
Thu Aug 09, 2018 6:33 am
...

I tried updating and reinstalling Joomla! but it has no effect.
...
As in ... Components >>> Joomla update >>> search for updates ... reinstall core files ?


viewtopic.php?f=714&t=793531please
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Error decoding JSON data: Syntax error + sef urls not working

Post by leolam » Fri Aug 10, 2018 4:29 am

Code: Select all

0 - Error decoding JSON data: Syntax error
So a nice script is developed by Rob Went to repair the syntax errors and you can review the description and download the script here on Github.

Run the script and you should be fine

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -


Locked

Return to “Administration Joomla! 3.x”