Keyword

Undefined variable error in 3.0

More
9 years 10 months ago #136201 by Sam
Undefined variable error in 3.0 was created by Sam
Hi,
We are getting a
Notice: Undefined variable: feedItemLinkRedirect in /modules/mod_jw_srfr/helper.php on line 78 appearing for every post and the proper output below the errors.
How do we get rid of this error? does this module work in Joomla 3.27
Deleted the module and tried again, same problem.

thanks,
Sam

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #136237 by Lefteris
Replied by Lefteris on topic Undefined variable error in 3.0
Hi,

This is just a notice. Go to global configuration and set error reporting to "Simple" or "None". In the meantime we will fix the notice for the next release.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #143109 by Paul
Replied by Paul on topic Undefined variable error in 3.0
I have this same problem with ver. 3.3.35 I have changed the error_reporting variable to 'simple' and 'none' but the error messages are still appearing.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #143119 by Lefteris
Replied by Lefteris on topic Undefined variable error in 3.0
@Paul

Are you sure you are using this extension? There is no version 3.3.35 in Simple RSS Feed reader. Also try to clean the Joomla! cache.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago - 9 years 7 months ago #143163 by Paul
Replied by Paul on topic Undefined variable error in 3.0
3.3.35 was the Joomla version. I fixed the problem by making the following change;

The error indicated that both $feedItemLinkRedirect and $siteUrl were undefined variables.

In module mod_jw_srfr.php I added two parameters at the end the getFeeds call at line 63, they are underlined below.

getFeeds($srfrFeedsArray,$totalFeedItems,$perFeedItems,$feedTimeout,$feedItemDateFormat,$feedItemDescriptionWordlimit, $cacheLocation,$srfrCacheTime,$feedItemImageHandling,$feedItemImageResizeWidth,$feedItemLinkRedirect,$siteUrl);

And added the same parameters to function getFeeds() in helper.php at line 15, underlined below

function getFeeds($feedsArray,$totalFeedItems,$perFeedItems,$feedTimeout,$dateFormat,$wordLimit,$cacheLocation,$cacheTime, $imageHandling,$riWidth,$feedItemLinkRedirect,$siteUrl)

There are no error messages now.
Last edit: 9 years 7 months ago by Paul. Reason: correct word wrap

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #143177 by Lefteris
Replied by Lefteris on topic Undefined variable error in 3.0
Hacking the extension is not recommended. I suggest to install the latest version of the extension from www.joomlaworks.net/extensions/free/simple-rss-feed-reader . After that ensure that you have setup the module correctly and you have entered at least one valid feed URL.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #143388 by Mel Corley
Replied by Mel Corley on topic Undefined variable error in 3.0
I just updated to version 3.3 of the Simple RSS Feed Reader with Joomla 3.4.1 and now I'm getting the same undefined variable message.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #143398 by Lefteris
Replied by Lefteris on topic Undefined variable error in 3.0

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum