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
1 Answer
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
-
2I can confirm this worked for me. Changed instances of \Zend_Json to \Laminas\Json\Json 2 days ago