Issue:
When we are enabling the M2MultipleStoreViewPricing module version 2.2.7 on M2.3.5 CE and if anytime we run setup:di:compile, we are getting a warning.
Warning: Declaration of Bss\MultiStoreViewPricingCatalogRule\Model\Indexer\ReindexRuleProductPrice::execute($batchCount, ?Magento\Catalog\Model\P
roduct $product = NULL, $useAdditionalTable = false) should be compatible with Magento\CatalogRule\Model\Indexer\ReindexRuleProductPrice::execute
(int $batchCount, ?int $productId = NULL, bool $useAdditionalTable = false) in /home/leftword/migrate/LeftwordandTulika/vendor/bsscommerce/multi-
store-pricing-set/MultiStoreViewPricingCatalogRule/Model/Indexer/ReindexRuleProductPrice.php on line 203
Solution:
The issue is caused due to our module's bug when it calls the wrong arguments.
To solve this issue, we have edited this file MultiStoreViewPricingCatalogRule/Model/Indexer/ReindexRuleProductPrice.php
Please replace the change and then flush the cache on the site.
If you need any further assistance, please feel free to contact us.
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