Page 1 of 1

error using phocagallery : Undefined property: stdClass::$

Posted: 04 Feb 2013, 07:41
by leonyx
On the client site, when showing images galley, it show image folder as I managed but at the end of page it show following error.

Notice: Undefined property: stdClass::$button in C:\websites\pgtf\components\com_phocagallery\views\category\tmpl\default.php on line 119

I'm using Joomla Version 1.5.21 and Version 2.7.2 Phoca

Re: error using phocagallery : Undefined property: stdClas

Posted: 04 Feb 2013, 13:22
by leonyx
i just add following condition on line NO 119 and it work for me

if (empty($value) || $value == null) continue;
if ($value->button == null) continue;

Re: error using phocagallery : Undefined property: stdClas

Posted: 07 Feb 2013, 23:43
by Jan
Hi, thank you for the info, do you get the same problem for the latest Phoca Gallery version (2.8.2)?

Jan

Re: error using phocagallery : Undefined property: stdClas

Posted: 08 Feb 2013, 06:37
by leonyx
Yes

Re: error using phocagallery : Undefined property: stdClas

Posted: 13 Feb 2013, 20:52
by Jan
Hmm, I will take a look at this. Thank you, Jan