RuiMiguel Posted December 18, 2017 Report 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
Moderators shakamonkey88 Posted December 18, 2017 Moderators Report Posted December 18, 2017 Which php version are you using and what version of phpVMS? Quote
Moderators shakamonkey88 Posted December 19, 2017 Moderators Report Posted December 19, 2017 And what phpVMS version Quote
Moderators shakamonkey88 Posted December 19, 2017 Moderators Report 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
RuiMiguel Posted December 19, 2017 Author Report Posted December 19, 2017 I know ,but laravel it's not easy thanks Quote
web541 Posted December 19, 2017 Report 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
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.