QUESTION:
I use Magento 2.3.2 and the module v1.1.4. When I use: php bin/magento setup:di:compile
Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface. Actual type: string; File:
/home/xxxxx/public_html/xxxxx/app/code/Bss/RefundRequest/Model/ResourceModel/Label/Grid/Collection.php
Bss\RefundRequest\Model\ResourceModel\Request\Grid\Collection
Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface. Actual type: string; File:
/home/xxxxx/public_html/xxxxx/app/code/Bss/RefundRequest/Model/ResourceModel/Request/Grid/Collection.php
Total Errors Count: 2

Please help me to fix it!
ANSWER:
The issue you have encountered with due to the fact that it is missing the variable model in the construct function.
To solve the error, please download the attached file below and overwrite the current file on your site.
The files changed as below:
app/code/Bss/RefundRequest/Model/ResourceModel/Label/Grid/Collection.php
app/code/Bss/RefundRequest/Model/ResourceModel/Request/Grid/Collection.php

If there is any other question or concern, please feel free to leave us a message via https://bsscommerce.com/contact.
We'd be happy to support!
Get to know us:
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Explore our most powerful extensions:
- Magento 2 B2B Extension by BSS Commerce enhances B2B performance with streamlined workflows and tailored pricing strategies.
- Magento 2 SEO Extension by BSS Commerce improves rankings and maximizes organic growth through advanced SEO automation.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article