Issue:
After the module version 1.1.3 installation on Magento 2.1.8, I get the following fatal error
Error: Fatal error: Interface 'Magento\Framework\View\Element\Block\ArgumentInterface' not found in app/code/Bss/InfiniteScroll/Helper/Data.php on line 28
Solution:
The root problem is the current version (1.1.3) is not compatible with Magento 2.1.x
The class Magento\Framework\View\Element\Block\ArgumentInterface in the updated extension's version does not support Magento 2.1.x
We have fixed this issue and edited these files:
app/code/Bss/InfiniteScroll/Helper/Data.php
app/code/Bss/InfiniteScroll/Plugin/JsFooterPlugin.php
app/code/Bss/InfiniteScroll/view/frontend/layout/catalog_category_view.xml
app/code/Bss/InfiniteScroll/view/frontend/layout/catalogsearch_advanced_result.xml
app/code/Bss/InfiniteScroll/view/frontend/layout/catalogsearch_result_index.xml
app/code/Bss/InfiniteScroll/view/frontend/templates/product/listing/renderer.phtml
Please replace these files by a new one as attached to fix this issue.
For more information about our extension, please refer to Magento 2 Infinite Scroll page.
If you need any further assistance, please don't hesitate to contact us at sales@bsscommerce.com
Get to know about us
BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust. Here are our most powerful extensions might help you drive your sales and get the best user experience:
- BSS Commerce’s Magento 2 B2B Extension delivers a complete solution for scalable and efficient wholesale management.
- BSS Commerce’s Magento 2 SEO Extension empowers your store to rank higher and grow organic traffic faster.
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