0

Class Zend not found in magento now. So for that, we have fixes for those classes which is currently using the same but we want to upgrade in latest magento 2.4.X versions.

common errors of Zend:

Error: Class Zend_Json not found

Error: Class Zend_Http_Client not found

Error: Class Zend_Filter not found

Error: Class Zend_Validate not found

How do I solve the above error?

General Grievance
4551 gold badge7 silver badges12 bronze badges
asked Sep 14, 2023 at 11:52

1 Answer 1

1

Method to Solve ‘Error Class Zend not found’ in Magento 2 Follow these steps:

Step 1: Install Laminas

  1. Magento root directory open terminal
  2. run command : composer require laminas/laminas-serializer [required: composer install]

Step 2: Replace Zend Classes with Laminas

  1. Open the .phtml file where you are facing the main.CRITICAL: Error: Class Zend not found in Magento 2.
  2. Find and replace the respective Zend classes with that of Laminas as provided in the table below:

enter image description here

kudos @Pramod

answered Sep 19, 2023 at 20:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.