V1.1.0EE: How to fix incompatible issue with M2.4.2/2.4.3 EE?

Created by Support Agent, Modified on Tue, 14 Apr at 9:07 AM by Support Agent

QUESTION:

We just bought the Magento 2 Catalog Price Rule per Store View module, but I see that is not compatible with Magento 2.4.2 EE that we have. 

We had a similar case when we bought the Store View pricing module and you had a patch available. 

Do you think that you already have a patch for this module too? 


This is the error I get when I compile the code:
Repositories code generation... 1/9 [===>------------------------] 11% < 1 sec 125.0 MiBPHP 

Fatal error: Declaration of Bss\CatalogRulePerStoreView\Model\ResourceModel\Product\LinkedProductSelectBuilderByCatalogRulePrice::build($productId) 

must be compatible with 

Magento\Catalog\Model\ResourceModel\Product\LinkedProductSelectBuilderInterface::build(int $productId, int $storeId): 

array in /app/code/Bss/CatalogRulePerStoreView/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php on line 94


ANSWER:


- For this incompabile issue, please fix as below:


File app/code/Bss/CatalogRulePerStoreView/Model/ResourceModel/Product/LinkedProductSelectBuilderByCatalogRulePrice.php 


 If you have any other question or concern, please feel free to  contact us. We'd be happy to support!

Learn more about us!!


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Explore our extensions: https://bsscommerce.com/magento-2-extensions.html 


Get our extensions now:


If you need any further assistance, please feel free to contact us. We'd be 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article