Open cbrouard opened 6 years ago
The fix :
Replace into vendor/magestore/module-bannerslider/Model/ResourceModel/Banner/Collection.php:80 with \Magento\Framework\DB\Adapter\AdapterInterface $connection = null,
Thanks
Thank you cbrouard, works! But in my case to be more precise: i had to delete the line before with $connection = null, and then add \Magento\Framework\DB\Adapter\AdapterInterface $connection = null without the , at the end.
@edenduong - maybe it is the time to merge all the fixes into new build? You have everything...
Hello,
You have bug pending di compilation in new version Magento 2.2 into class Magestore\Bannerslider\Model\ResourceModel\Banner\Collection.
$ php bin/magento setup:di:compile Compilation was started. Interception cache generation... 6/7 [========================>---] 85% 2 mins 248.0 MiBErrors during compilation: Magestore\Bannerslider\Model\ResourceModel\Banner\Collection Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface. Actual type: \Magento\Framework\Model\ResourceModel\Db\AbstractDb; File: /var/www/eboutique.ponant.tbd/vendor/magestore/module-bannerslider/Model/ResourceModel/Banner/Collection.php