Infinite Scroll

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Laisvunas


You must be logged in to post.

Infinite Scroll is not working on PHP7

Bug Report


Hi, I’ve just moved my website on a PHP7 server, and Infinite Scroll stopped working. The errors I get are the following:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Infinite_scroll has a deprecated constructor in /storage/av04028/www/public_html/system/expressionengine/third_party/infinite_scroll/pi.infinite_scroll.php on line 28

A PHP Error was encountered
Severity: 8192
Message: Non-static method Infinite_scroll::usage() should not be called statically
Filename: infinite_scroll/pi.infinite_scroll.php
Line Number: 25

Can you help me? I tried to modify the file by myself but, even if these errors gone, others occurred, and the pagination isn’t working either.