Page 1 of 1

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

Posted: 05 Feb 2016, 01:31
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!

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

Posted: 05 Feb 2016, 02:25
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:

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

Posted: 11 Feb 2016, 14:22
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