Conflict with Amasty_Orderattr

Created by Support Agent, Modified on Sun, 19 Apr at 10:51 PM by Support Agent

Question: 

I have installed Push Notifications extension in my website. When I go to Push Notifications > Manage Notification, I'm getting the following error:

Fatal error: Method Magento\Ui\TemplateEngine\Xhtml\Result::__toString() must not throw an exception, caught TypeError: Argument 1 passed to Amasty\Orderattr\Model\ResourceModel\Value\Plugin\Order\Grid\SearchResult::afterGetSelect() must be an instance of Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult, instance of Bss\PushNotification\Model\ResourceModel\Notification\Grid\Collection\Interceptor given, called in /home/apharmacy/public_html/vendor/magento/framework/Interception/Interceptor.php on line 146 in /home/apharmacy/public_html/vendor/magento/module-ui/Component/Wrapper/UiComponent.php on line 0 


Cause:

Due to conflict with Amasty_Orderattr extension in file di.xml.


Answer:

Edit file app/code/Bss/PushNotification/etc/di.xml

For any further support, please don't hesitate to contact us at support@bsscommerce.com

We're always willing to support. If you need further our information, here is:


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.


Visit us to get more useful plugins: https://bsscommerce.com/magento-2-extensions.html 


Here to discover our extensions:

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