Easy News error with RSS Feed

Permalink
Getting the following error when trying to link to the RSS feed generated by Easy News.
Fatal error: Call to undefined method CollectionVersion::getNumericalVersionID() in D:\virtualservers\pdnadzny\mostrim.org\wwwroot\packages\easy_news\tools\rss.php on line 19

I thought firat this was because I used the list in a block as part of another page but it's not
Website page ishttp://www.mostrim.org/index.php/gaa/club-news/...

 
nisqually replied on at Permalink Reply
nisqually
Were you able to resolve this? We have the same error:
Fatal error: Call to undefined method CollectionVersion::getNumericalVersionID() in /var/www/packages/easy_news/tools/rss.php on line 19
mostrim replied on at Permalink Reply
No got nothing from the author - i presume this was because it was free and not supported. Anyway I ended up going with ProNews instead and it's being working fine for me.
c5muc replied on at Permalink Reply
Just delete line 19 (or comment)
// $cvID = CollectionVersion::getNumericalVersionID($ct->getCollectionID(),'ACTIVE');
and in the following line replace $cvID by "1" or even an empty string:
instead of $vObj = CollectionVersion::get($ct, $cvID);
use $vObj = CollectionVersion::get($ct, "");

It used the most recent version in my case no matter what $cvID was.