1

I have a theme and extensions that use widely the Zend_Json function i.e.for example : window.checkout = getConfig()); ?>; in 2.4.5 I had no problem using this code, in 2.4.6 it throws an exception : " main.CRITICAL: Error: Class "Zend_Json" not found in" I have the laminas package...what can go wrong ? TIA for help

0

1 Answer 1

7

Zend usage deprecated since 2.4.6 Now you can use Laminas. Usage: replace Zend_Json with \Laminas\Json\Json Be sure that you have installed laminas/laminas-serializer

1
  • 2
    I can confirm this worked for me. Changed instances of \Zend_Json to \Laminas\Json\Json 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.