QUESTION:

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:
Bss\ProductsWidgetSlider\Block\GetData
Incompatible argument type: Required type:

\Magento\Catalog\Api\CategoryRepositoryInterface.
Actual type: array; File:
htdocs/app/code/Bss/ProductsWidgetSlider/Block/GetData.php

How to fix it? Thanks.


ANSWER: 

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:


app/code/Bss/ProductsWidgetSlider/Block/GetData.php




app/code/Bss/ProductsWidgetSlider/Block/Product/BestSeller.php




app/code/Bss/ProductsWidgetSlider/Block/Product/MostView.php 




app/code/Bss/ProductsWidgetSlider/Block/Product/OnSale.php



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

We'd be happy to support.