cancel
Showing results for 
Search instead for 
Did you mean: 

Error after upgrading to 2.4.5

Error after upgrading to 2.4.5

I try to upgrade magento from version 2.4.3 -> 2.4.5 , but I receive these errors after upgrade:

 

bin/magento setup:upgrade


Class 'Zend\Mime\Mime' not found#0 /var/www/magento2/vendor/magento/framework/Code/Generator/EntityAbstract.php(366): ReflectionParameter->getDefaultValue()

 

I seen also this error:

 

bin/magento setup:upgrade


Interface "Zend\Stdlib\JsonSerializable" not found#0 /var/www/magento2/vendor/composer/ClassLoader.php(571): include()

 

 

I tryed different scenarios from 2.4.3-p2 to 2.4.4 and to 2.4.5 and 2.4.5-p1, but always same problem. Caches are cleared server rebooted, but I have always same errors. How to fix this problem  ?