RuiMiguel Posted December 18, 2017 Report Share Posted December 18, 2017 hello; i have this error Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RSSFeed has a deprecated constructor in xxxxxx\core\common\RSSFeed.class.php on line 20 Can you help me solve this? Thanks Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted December 18, 2017 Moderators Report Share Posted December 18, 2017 Which php version are you using and what version of phpVMS? Quote Link to comment Share on other sites More sharing options...
RuiMiguel Posted December 19, 2017 Author Report Share Posted December 19, 2017 php 7 Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted December 19, 2017 Moderators Report Share Posted December 19, 2017 And what phpVMS version Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted December 19, 2017 Moderators Report Share Posted December 19, 2017 Either way, you would be best running php version 5.6 Nabeel is working on a completely new version of phpVMS that is built from the ground up to run on php v7 & up Quote Link to comment Share on other sites More sharing options...
RuiMiguel Posted December 19, 2017 Author Report Share Posted December 19, 2017 I know ,but laravel it's not easy thanks Quote Link to comment Share on other sites More sharing options...
web541 Posted December 19, 2017 Report Share Posted December 19, 2017 If you do want to fix this, you could try going into core/common/RSSFeed.class.php and replace this on line 23 public function RSSFeed($title = '', $url = '', $description = '') { With this public function __construct($title = '', $url = '', $description = '') { PHP >= 7.0 has this deprecated (and phpvms 5.5.x was not made for 7.0 yet). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.