v1.1.3 How to fix incompatible issue on M2.4.0?

Created by Jane D, Modified on Sun, 07 Feb 2021 at 07:37 PM by Jane D


After upgrading my site to Magento 2.4.0, I got the exception error: 

1 exception(s): Exception #0 (Exception): Notice: Array to string conversion in /xxx/xxxx/xxxx/app/code/Bss/InfiniteScroll/view/frontend/templates/product/image_with_borders.phtml on line 26 Exception #0 (Exception): Notice: Array to string conversion in /xxx/xxx/xxx/app/code/Bss/InfiniteScroll/view/frontend/templates/product/image_with_borders.phtml on line 26 <pre>#1 include('/date/site/bike3...') called at [vendor/magento/framework/View/TemplateEngine/Php.php:71] #2 Magento\Framework\View\TemplateEngine\Php->render() called at [vendor/magento/framework/Interception/Interceptor.php:58] #3 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #4 Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #5 Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php:26] #6 Magento\Framework\View\TemplateEngine\Php\Interceptor->render() called at [vendor/magento/framework/View/Element/Template.php:273] #7 ...............

Please guide how to fix?


To resolve this error, please download the attached file  app/code/Bss/InfiniteScroll/view/frontend/templates/product/image_with_borders.phtml  and overwrite the current file on your site. 

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

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 atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article