Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Bug #21032 Pager & PHP 7
Submitted: 2016-02-21 19:13 UTC
From: accorinti Assigned: quipo
Status: Closed Package: Pager (version Unknown)
PHP Version: 5.6.18 OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2016-02-21 19:13 UTC] accorinti (Carlo Accorinti)
Description: ------------ Hello, there are some issues with the new PHP version: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Pager has a deprecated constructor in G:\xampp\htdocs\ISG\admin\pager\Pager\Pager.php on line 52 Deprecated: Non-static method Pager::factory() should not be called statically in {myserver_myfile.php} on line 86 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Pager_Sliding has a deprecated constructor in G:\xampp\htdocs\ISG\admin\pager\Pager\Sliding.php on line 55 Parse error: syntax error, unexpected 'new' (T_NEW) in G:\xampp\htdocs\ISG\admin\pager\Pager\Common.php on line 1298

Comments

 [2016-12-29 21:52 UTC] joshuaconn (Joshua Conn)
An attempt was made to resolve the "Non-static method Pager::factory() should not be called statically" problem here back in April: https://github.com/pear/Pager/pull/4
 [2017-06-19 16:28 UTC] quipo (Lorenzo Alberton)
-Status: Open +Status: Closed -Assigned To: +Assigned To: quipo
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/ Fixed in Pager-2.5.1