Advertisement

PHP Fatal error: Uncaught Error: Call to undefined function json_decode()

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
ahmed1308
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 14, 2020 7:34 pm

PHP Fatal error: Uncaught Error: Call to undefined function json_decode()

Post by ahmed1308 » Sat Nov 14, 2020 8:12 pm

Hello!

I tried to restore a website via a .jpa archive and the kickstart.php script from Akeeba Backup. However, I keep getting the following error message:

[14-Nov-2020 18:58:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined function json_decode() in /home/.../public_html/kickstart.php:20417
Stack trace:
#0 /home/.../public_html/kickstart.php(20691): kickstart_application_web()
#1 {main}
thrown in /home/.../public_html/kickstart.php on line 20417

Please inform me how to fix this problem.

Advertisement
sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: PHP Fatal error: Uncaught Error: Call to undefined function json_decode()

Post by sozzled » Sat Nov 14, 2020 8:24 pm

Have you installed JSON extension for PHP on your server? See https://www.php.net/manual/en/json.setup.php

ahmed1308
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 14, 2020 7:34 pm

Re: PHP Fatal error: Uncaught Error: Call to undefined function json_decode()

Post by ahmed1308 » Sun Nov 15, 2020 12:30 am

sozzled wrote: Sat Nov 14, 2020 8:24 pm Have you installed JSON extension for PHP on your server? See https://www.php.net/manual/en/json.setup.php
When I go to cPanel > Select PHP Version > Extensions, I see that json is enabled, so I suppose that it is already installed on the server.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: PHP Fatal error: Uncaught Error: Call to undefined function json_decode()

Post by sozzled » Sun Nov 15, 2020 2:47 am

Image

Advertisement

Locked

Return to “General Questions/New to Joomla! 3.x”