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