BuzzingPixel

Ansel for Craft

Ansel for EE

Treasury

Construct

Category Construct

Dashboard (open an issue here)

All Issues

My Issues

News Contact
Log in

Logged in as

Licenses Purchases Profile Change Password Billing Portal Admin
Log Out
Software
Ansel for Craft Ansel for EE Treasury Construct Category Construct
Support
Dashboard (open an issue here) All Issues My Issues
News Contact
Log in
Logged in as:
Licenses Purchases Profile Change Password Billing Portal Log Out
Dashboard All Issues My Issues
Support Dashboard
  1. Home
  2. Home
  3. Support Dashboard
  4. View Issue

Fatal Error

#220 opened by Res Naegeli

Subscribe

Details

See Comments

Public Issue

Visibility: Public
2 replies
Last reply by Res Naegeli
Created 9/28/2022 9:45 AM
Updated 9/28/2022 10:16 AM
Ansel for ExpressionEngine 2.3
CMS Version: 5.4.3
PHP Version: 7.4

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 the json 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 the json 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.

Use Markdown for formatting

Details

See Comments

Public Issue

Visibility: Public
2 replies
Last reply by Res Naegeli
Created 9/28/2022 9:45 AM
Updated 9/28/2022 10:16 AM
Ansel for ExpressionEngine 2.3
CMS Version: 5.4.3
PHP Version: 7.4
Cookie Policy
Privacy Policy
Terms of Service

© 2023 BuzzingPixel, LLC. All rights reserved.