You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Class "Zend_Date" not found in /home/storm/sites/design-a-cake-com/public/app/code/Xigen/NewProduct/Model/Layer.php:79
Added on line 9:
use DateTime;
Line 80 change:
$date = new \Zend_Date();
to
$date = new DateTime();
This seems to get the module to function. I am aware of other Zend references present such as Zend_Db_Expr that will probably need to be changed going forward.
The text was updated successfully, but these errors were encountered:
Depreciation of Zend Framework in Magento 2.4.6
Error: Class "Zend_Date" not found in /home/storm/sites/design-a-cake-com/public/app/code/Xigen/NewProduct/Model/Layer.php:79
Added on line 9:
use DateTime;
Line 80 change:
$date = new \Zend_Date();
to
$date = new DateTime();
This seems to get the module to function. I am aware of other Zend references present such as Zend_Db_Expr that will probably need to be changed going forward.
The text was updated successfully, but these errors were encountered: