sezzle / sezzle-magento2

Apache License 2.0
5 stars 3 forks source link

Class 'Zend\Log\Writer\Stream' not found #14

Closed petresdaniel closed 3 years ago

petresdaniel commented 3 years ago

Preconditions (*)

Magento 2.4.3

Steps to reproduce (*)

Expected result (*)

Admin config is saved

Actual result (*)

An error is thrown. Class 'Zend\Log\Writer\Stream' not found

In Magento 2.4.3 'laminas-log' has been removed. So the laminas-zendframework-bridge doesn't work anymore for the Log.

This is the magento commit that deleted the composer dependency: https://github.com/magento/magento2/commit/f0840b19d820d866ed9c5680e97aac0210237068#diff-d2ab9925cad7eac58e0ff4cc0d251a937ecf49e4b6bf57f8b95aab76648a9d34

This is the problematic line in sezzle-magento2: https://github.com/sezzle/sezzle-magento2/blob/master/Helper/Data.php#L18

arijit-sezzle commented 3 years ago

Fix has been released at - https://github.com/sezzle/sezzle-magento2/releases/tag/v5.5.5