Issue:
I have upgraded our Magento to the last version released M2.3.5 CE and use module's version 2.2.4, but the extension is not working. It throws this error in console when compiling code:
Warning: Declaration of Bss\MultiStoreViewPricingCatalogRule\Model\Indexer\RuleProductsSelectBuilder::build($websiteId, ?Magento\Catalog\Model\Product $product = NULL, $useAdditionalTable = false, $storeId = NULL) should be compatible with Magento\CatalogRule\Model\Indexer\RuleProductsSelectBuilder::build(int $websiteId, ?int $productId = NULL, bool $useAdditionalTable = false) in /data/web/magento2/app/code/Bss/MultiStoreViewPricingCatalogRule/Model/Indexer/RuleProductsSelectBuilder.php on line 193
Solution:
Regarding the issue you reported, we would like to update that our module is not compatible with Magento 2.3.5 currently.
app/code/Bss/MultiStoreViewPricingCatalogRule/Model/Indexer/ReindexRuleProductPrice.php (change type of param form function execute corresponding with core)
app/code/Bss/MultiStoreViewPricingCatalogRule/Model/Indexer/RuleProductsSelectBuilder.php (change type of param form function execute corresponding with core)
Please check and replace the fixed files on your site.
If you have any issues, please feel free to contact us at sales@bsscommerce.com
We are more than happy to support you.
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