Phoca
Phoca Seal

error using phocagallery : Undefined property: stdClass::$

error using phocagallery : Undefined property: stdClass::$

Postby leonyx on 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

Google Ads


Re: error using phocagallery : Undefined property: stdClas

Postby leonyx on 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;
leonyx
Phoca Newbie
Phoca Newbie
 
Posts: 3
Joined: 04 Feb 2013, 07:12

Re: error using phocagallery : Undefined property: stdClas

Postby Jan on 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 some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32729
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: error using phocagallery : Undefined property: stdClas

Postby leonyx on 08 Feb 2013, 06:37

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

Re: error using phocagallery : Undefined property: stdClas

Postby Jan on 13 Feb 2013, 20:52

Hmm, I will take a look at this. Thank you, Jan
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32729
Joined: 10 Nov 2007, 18:23
Location: Czech Republic


Return to Phoca Gallery Modules

Who is online

Users browsing this forum: No registered users and 1 guest