0

I have created a custom query in Model/ResourceModel/Notification/Collection.php file but now it shows an error in admin:

Recoverable Error: Argument 5 passed to Namespace\Module\Model\ResourceModel\Notification\Collection::__construct() must be an instance of Magento\Framework\Stdlib\DateTime\DateTime, instance of Magento\Store\Model\StoreManager given, called in app/code/Namespace/Module/Model/ResourceModel/Notification/Grid/Collection.php on line 54 and defined in app/code/Namespace/Module/Model/ResourceModel/Notification/Collection.php on line 61

2

0

Your Answer

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

Browse other questions tagged or ask your own question.