Error in phocagallery.php line 909

Phoca Gallery plugins - plugins for Phoca Gallery extension
Lowrider614
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 08 Sep 2016, 21:45

Error in phocagallery.php line 909

Post by Lowrider614 »

Hi,

I tried the PhocaGallery Plugin today to Show a Gallery.
I get the following error message:
Warning: Invalid argument supplied for foreach() in /homepages/44/d519870146/htdocs/clickandbuilds/Joomla/Joomla_tb/plugins/content/phocagallery/phocagallery.php on line 909

When I Show an Image only, it works fine.

Any ideas?

Kind regards

Tim
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9437
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error in phocagallery.php line 909

Post by Benno »

Hi,
Which URL?
Which Phoca Gallery version?
Which Phoca Gallery Plugin version ?
Which Joomla! version?

Kind regards,
Benno
Lowrider614
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 08 Sep 2016, 21:45

Re: Error in phocagallery.php line 909

Post by Lowrider614 »

Hi Benno,

thank you for your Reply.
The URL is http://www.katharina-und-tim.de/index.php/test .
Phoca Gallery Version: 4.3.1
Phoca Gallery Plugin Version: 4.3.1
Phoca Gallery Button Version: 4.2.1
Jommla! Version: 3.6.2

Kind regars

Tim
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Error in phocagallery.php line 909

Post by christine »

Hi Tim,

just an idea: you are running: PHP 5.5.38.
Recommended at least: 5.6, better: PHP 7

Kind regards, Christine
Lowrider614
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 08 Sep 2016, 21:45

Re: Error in phocagallery.php line 909

Post by Lowrider614 »

Hi Christine,

thanks for that hint. I upgraded PHP to 7.0.
The error is still there.

Kind regards
Tim
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9437
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error in phocagallery.php line 909

Post by Benno »

Hi,
backend --> System --> Konfiguration --> Server --> Server --> Fehler berichten=Standard
Speichern & Schließen
The error is still there.
Warnings sind keine PHP-Fehler, sondern Meldungen an den/die Entwickler von Komponenten.

Freundliche Grüße,
Benno
Lowrider614
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 08 Sep 2016, 21:45

Re: Error in phocagallery.php line 909

Post by Lowrider614 »

Hallo Benno,

nun in Deutsch:
Die Art und Weise der Fehlerberichterstattung die du angegeben hast, war bereits eingestellt. Ich habe aber das Gefühl, dass das für die Lösung meines Problems auch nicht relevant war. Liege ich da richtig?
Brauchst du einen ausführlicheren Fehlerbericht?

Schöne Grüße

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

Re: Error in phocagallery.php line 909

Post by Jan »

Hi, try to enable debug mode if you get some database error message. The error says, it didn't get any database data.

Which is teh plugin code, you have added to the article?

Jan
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Error in phocagallery.php line 909

Post by christine »

Hi Tim,

probier mal folgendes:

In der angegebenen Plugin Datei, Zeile: 834 steht:

$data_outcome_array = '';

ändern auf:

$data_outcome_array = array();

vorher natürlich die Datei sichern (backup). Mit z.B. Notepad++ ändern.

Liebe Grüße, Christine
Lowrider614
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 08 Sep 2016, 21:45

Re: Error in phocagallery.php line 909

Post by Lowrider614 »

Hi Christine, hi Jan,

thanks four your replies.
I changed the entry in the .php-File and there is no warning message anymore. But I don't see the Pictures either.
The Code I entred is

Code: Select all

{phocagallery view=categories|imagecategories=1|imagecategoriessize=0|hidecategories=1}
The Website katharina-und-tim.de/test is still online and you can see how it Looks like now.

I enabled debug mode and there are some warnings. Is there a method to copy paste the results in here?

Tim
Post Reply