Error Rss Feed

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Oct 16, 2016 8:45 pm
Hi,

After change web hosting I have this error on the module News Show Pro GK5 where I use RSS FEED:

Deprecated: Passing parameters to the constructor is no longer supported. Please use set_feed_url(), set_cache_location(), and set_cache_location() directly. in /.../..../..../libraries/vendor/simplepie/simplepie/library/SimplePie.php on line 640
Error: No articles to display
My PHP version is 6.5.26.
and
News Show Pro GK5 1.9.3.6
Thanks in advance
User avatar
Senior Boarder

teitbite
Mon Oct 17, 2016 10:42 am
Could you please provide me with a URL to your website and back-end access via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Fri Oct 21, 2016 12:08 am
Hi teitbid,

I sended you URL and back-end access.

Thanks in advance
User avatar
Senior Boarder

teitbite
Sat Oct 22, 2016 10:33 am
Hi

I've send You access to programmers. Will let You know as soon as they will answer.
User avatar
Moderator

teitbite
Tue Oct 25, 2016 4:07 pm
Hi

Please edit file mod_news_pro_gk5/data_sources/rss/model.php and replace line 24:

Code: Select all
$rss = new SimplePie($config['rss_feed'], JPATH_ROOT . DS . 'modules' . DS . 'mod_news_pro_gk5' . DS . 'cache', $config['rss_cache_time'] * 60);


with

Code: Select all
$rss = new SimplePie();
$feed->set_feed_url($config['rss_feed']);
$feed->set_cache_location(JPATH_ROOT . DS . 'modules' . DS . 'mod_news_pro_gk5' . DS . 'cache');
$feed->set_cache_duration($config['rss_cache_time'] * 60);
User avatar
Moderator

GK User
Mon Nov 07, 2016 1:03 am
I do it but i get a nnew error:

Fatal error: Call to a member function set_feed_url() on null in /home/dakarmus/radio/modules/mod_news_pro_gk5/data_sources/rss/model.php on line 25

Thanks
User avatar
Senior Boarder

teitbite
Fri Nov 11, 2016 11:47 am
Hi

Please send me an access to FTP. I'll check.
User avatar
Moderator

GK User
Mon Dec 19, 2016 12:25 pm
Hi,
I have the same error. How do I to solve ?
User avatar
Junior Boarder

teitbite
Thu Dec 29, 2016 8:26 pm
Hi

I'm afraid there was some problem with our site lately and it was recreated from backup. Please send me ftp access again since i'm not sure if it was removed during that process or it was not send to me yet.
User avatar
Moderator


cron