Notice: Undefined property: stdClass::$format in ...

Phoca Gallery - image gallery extension
hangloose.51
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Feb 2016, 01:23

Notice: Undefined property: stdClass::$format in ...

Post by hangloose.51 »

Hello to all...

Phoca Galery worked well for long time. I use the actual version 4.2.2.

Now I get the following message:
Notice: Undefined property: stdClass::$format in ... com_phocagallery/views/category/view.html.php on line 990
http://mfc-kusterdingen.de/index.php/fotogalerie1

How can I fix the problem?

Thanks for help!
hangloose.51
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Feb 2016, 01:23

Re: Notice: Undefined property: stdClass::$format in ...

Post by hangloose.51 »

Line 987 ff is about thumbs and Mansory. After hours of searching, I found sth... :!: :!: :!:

In the post I found out, that there is a relationship between the parameters: Display Image Comments --> Different Thubmnail Height (Category View)

When I disable "Different Thumbnail Height / Unterschiedliche Miniaturbildhöhe", the problem is gone...

So far OK, but: is this a bug or should I use different options?!

Good N8... :twisted:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Notice: Undefined property: stdClass::$format in ...

Post by Jan »

Hi, are you able to edit the code (for test only):

in: components\com_phocagallery\views\category\view.html.php

line cca 990

FROM:

Code: Select all

if ($this->items[$iS]->format	== 2) {
TO:

Code: Select all

if (isset($this->items[$iS]->format) && $this->items[$iS]->format	== 2) {
Do you get then the warning?

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