BoldMinded acquires Ansel, support ending for all add-ons. BoldMinded acquires Ansel, support ending for all add-ons. Read More →
Support has been discontinued. Issues remain available as an archive. Support has been discontinued. Issues remain available as an archive.
Fatal Error
#220 opened by Res Naegeli
Description
Hi
my provider made a server migration
Now the following error shows up, when I want to login to the backend.
Fatal error: Uncaught Error: Call to undefined function json_decode() in /home/finarenco/public_html/excp/user/addons/ansel/addon.setup.php:63 Stack trace: #0 /home/finarenco/public_html/excp/ee/EllisLab/ExpressionEngine/Core/Application.php(218): require() #1 /home/finarenco/public_html/excp/ee/EllisLab/ExpressionEngine/Core/Application.php(103): EllisLab\ExpressionEngine\Core\Application->addProvider('/home/finarenco...') #2 /home/finarenco/public_html/excp/ee/legacy/libraries/Core.php(103): EllisLab\ExpressionEngine\Core\Application->setupAddons('/home/finarenco...') #3 /home/finarenco/public_html/excp/ee/legacy/core/Controller.php(65): EE_Core->bootstrap() #4 /home/finarenco/public_html/excp/ee/legacy/core/Controller.php(76): Base_Controller->construct() #5 /home/finarenco/public_html/excp/ee/legacy/core/Controller.php(99): EE_Controller->construct() #6 /home/finarenco/public_html/excp/ee/EllisLab/ExpressionEngine/Core/Core.php(255): CP_Controller->__construct() #7 /home/finarenco/public_html/excp/ee/EllisLab/Expr in /home/finarenco/public_html/excp/user/addons/ansel/addon.setup.php on line 63
What is wrong?
Thanks Res
Replies
- TJ Draper
Replied 9/28/2022 9:56 AM
The important part of that error is
Error: Call to undefined function json_decode()
The
json
functions are a core (but technically optional) part of PHP standard library (almost everything in the PHP standard library is optional). Ansel uses thejson
functions and they are therefore required to be enabled and available in your PHP installation for Ansel to work. You’ll need to ask your provider to please enable thejson
functionality in PHP.Does make me wonder if there are other parts of PHP they haven’t compiled or enabled that Ansel requires. You may want to put Ansel through its paces when your provider enables json to make sure it’s fully functional.
- Res Naegeli
Replied 9/28/2022 10:16 AM
Thanks TJ
All the php extensions are gone in this install :( Works now again.