Page 1 of 1

Notice in file view.feed.php

Posted: 14 Apr 2017, 12:59
by sdi68
Hello.
I use Phoca Guestbook 3.0.5 I have seen php Notice: "Undefined variable: link in .../components/com_phocaguestbook/views/guestbook/view.feed.php on line 111" / Wrong line is

Code: Select all

$item->link     = $link;	//always use link to guestbook

Can you fix this?

Re: Notice in file view.feed.php

Posted: 15 Apr 2017, 22:39
by Jan
Hi, thank you for the info, I will fix it in next version.

For now - to make a quick fix, just add this line:

Code: Select all

$link = JRoute::_(PhocaguestbookHelperRoute::getCategoryRoute($guestbooks));
cca on line 62.

Jan

Re: Notice in file view.feed.php

Posted: 09 Mar 2018, 17:45
by Jan
Hi, should be Ok in version 3.0.7:

https://www.phoca.cz/news/963-phoca-gue ... 7-released

Jan