error using phocagallery : Undefined property: stdClass::$

leonyx
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Feb 2013, 07:12

error using phocagallery : Undefined property: stdClass::$

Postby leonyx » 04 Feb 2013, 07:41

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


leonyx
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Feb 2013, 07:12

Re: error using phocagallery : Undefined property: stdClas

Postby leonyx » 04 Feb 2013, 13:22

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;

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 36872
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error using phocagallery : Undefined property: stdClas

Postby Jan » 07 Feb 2013, 23:43

Hi, thank you for the info, do you get the same problem for the latest Phoca Gallery version (2.8.2)?

Jan
If you find Phoca extensions useful, please support the project

leonyx
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Feb 2013, 07:12

Re: error using phocagallery : Undefined property: stdClas

Postby leonyx » 08 Feb 2013, 06:37

Yes

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 36872
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error using phocagallery : Undefined property: stdClas

Postby Jan » 13 Feb 2013, 20:52

Hmm, I will take a look at this. Thank you, Jan
If you find Phoca extensions useful, please support the project


Return to “Phoca Gallery Modules”

Who is online

Users browsing this forum: No registered users and 1 guest