Di:compile error when update to Magento 2.3.5

Created by Jane D, Modified on Mon, 25 May 2020 at 04:49 PM by Jane D


Hi, we've been using your great extension version 1.0.3 for a while and have just updated to 2.3.5.

When running setup di:compile the following error is shown: 

Errors during compilation:
Incompatible argument type: Required type:

Actual type: array; File:

How to fix it? Thanks.


The error you encountered due to the module error which is not compatible with M2.3.5.

To solve the error, please download the attached file below and overwrite the current file on your site. 

The files changed as below:





If there is anything else we might help you, please do not hesitate via https://bsscommerce.com/contact

We'd be happy to support.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article