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