Ankündigung

#1 2023-01-27 07:41:45

Robert
Mitglied
2023-01-27
6

PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Hallo zusammen,

seit dem Update auf Piwigo 13.5.0 bekomme ich nach dem Login auf meine Seite folgende Fehlermeldung:

Code:

Warning: Undefined array key 1430 in piwigo*/include/category_cats.inc.php on line 283

Warning: Trying to access array offset on value of type null in piwigo*/themes/modus/themeconf.inc.php on line 277

Fatal error: Uncaught Error: Call to a member function get_size() on null in piwigo*/themes/modus/themeconf.inc.php:278 Stack trace: #0 piwigo*/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array) #1 piwigo*/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array) #2 piwigo*/index.php(301): include('piwigo*...') #3 {main} thrown in piwigo*/themes/modus/themeconf.inc.php on line 278

Merkwürdig ist, dass die Webseite normal funktioniert, wenn ich mich nicht einlogge und der Fehler auch nur auf der Startseite und der Kategorienseite auftritt. Wenn ich direkt ein Album lade, funktioniert die Webseite von dort aus wieder normal, bis ich wieder auf die Startseite oder auf die Albenübersicht klicke.

Tritt dieser Fehler bei noch jemandem auf und gibt es eine Lösung dafür?

Vielen Dank schon mal
Robert

Offline

#2 2023-01-28 11:28:02

Slim
Piwigo Team Moderators
2013-03-09
775

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Hallo,

wie es aussieht benutzt Du "Modus" als Thema.
Ich nutze es auch und habe keine Probleme.

Vielleicht hilft es eine andere Farbgebung zu nutzen.
Probiere es aus.

Slim

Offline

#3 2023-01-30 06:44:32

Robert
Mitglied
2023-01-27
6

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Guten Morgen,

danke für die Rückmeldung.

Ja, das ist richtig. Ich nutze Modus und das war auch mein erster Gedanke.
Aber weder das ändern der Farbgebung noch der Wechsel auf ein anderes Erscheinungsbild löst das Problem. Nur bei "Smart Pocket" erhalte ich die Fehlermeldung nicht.

Gruß
Robert

Offline

#4 2023-01-31 22:09:30

drlecter
Piwigo Team Moderators
2016-03-17
1056

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Hm, der versucht wohl die Größe zu berechnen. Hast du Zugriff auf die Server Logs? Ich vermute da könnte ein passendes PHP Modul fehlen.

Offline

#5 2023-02-01 10:41:08

Robert
Mitglied
2023-01-27
6

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Hallo,
ich habe mal PHP-Logs aktiviert und bekomme das hier raus:

Code:

[01-Feb-2023 10:29:18 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:18 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:18 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:20 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:21 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:21 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:21 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:22 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:22 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:22 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:23 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:23 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:24 Europe/Berlin] PHP Warning:  Undefined array key 1430 in /website/include/category_cats.inc.php on line 283
[01-Feb-2023 10:29:24 Europe/Berlin] PHP Warning:  Trying to access array offset on value of type null in /website/themes/modus/themeconf.inc.php on line 277
[01-Feb-2023 10:29:24 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to a member function get_size() on null in /website/themes/modus/themeconf.inc.php:278
Stack trace:
#0 /website/include/functions_plugins.inc.php(214): modus_index_category_thumbnails(Array)
#1 /website/include/category_cats.inc.php(342): trigger_change('loc_end_index_c...', Array)
#2 /website/index.php(301): include('/www/htdocs/v08...')
#3 {main}
  thrown in /website/themes/modus/themeconf.inc.php on line 278
[01-Feb-2023 10:29:31 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:31 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:38 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:38 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:46 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:46 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:53 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:53 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:29:53 Europe/Berlin] PHP Warning:  Undefined array key "OSMJS" in /website/_data/templates_c/ljtcly_1vndtuw^8b750ba4042933891e1af897397175cf980507e0_0.file.picture.tpl.php on line 325
[01-Feb-2023 10:29:53 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly_1vndtuw^8b750ba4042933891e1af897397175cf980507e0_0.file.picture.tpl.php on line 325
[01-Feb-2023 10:30:02 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:02 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:09 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:09 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:18 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:18 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:26 Europe/Berlin] PHP Warning:  Undefined array key "comments" in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:26 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly^e5290db83dd62910cb22dcb91fbd3b26ae4aa2f0_0.file.comment_list.tpl.php on line 47
[01-Feb-2023 10:30:26 Europe/Berlin] PHP Warning:  Undefined array key "OSMJS" in /website/_data/templates_c/ljtcly_1vndtuw^8b750ba4042933891e1af897397175cf980507e0_0.file.picture.tpl.php on line 325
[01-Feb-2023 10:30:26 Europe/Berlin] PHP Warning:  Attempt to read property "value" on null in /website/_data/templates_c/ljtcly_1vndtuw^8b750ba4042933891e1af897397175cf980507e0_0.file.picture.tpl.php on line 325

Hilft das bei der Fehlersuche?

Vielen Dank
Robert

Offline

#6 2023-02-01 12:18:40

drlecter
Piwigo Team Moderators
2016-03-17
1056

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Hm, lösche mal bitte die kompilierten Vorlagen (Werkzeuge->Wartung)

Offline

#7 2023-02-01 14:30:43

Robert
Mitglied
2023-01-27
6

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Hilft leider auch nicht. Ich habe auch alle anderen Bereinigungen durchgeführt, aber daran scheint es nicht zu liegen.

Sehr merkwürdig.

Offline

#8 2023-02-02 10:45:39

drlecter
Piwigo Team Moderators
2016-03-17
1056

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Das sieht nach der Berechnung der Größe aus.
Kannst du mal bitte alle Plugins deaktivieren oder die Liste der Plugins einmal posten?
Unter Wartung Server Umgebung sieht man alle.

Offline

#9 2023-02-02 10:55:14

Robert
Mitglied
2023-01-27
6

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Danke für Deine Bemühungen!

Ich hatte auch schon probiert einfach alle Plugins zu deaktivieren. Aber vielleicht werden die auch irgendwie gecached?

Hier die Liste  der aktivierten Plugins:

Additional Pages
AlwaysShowMetadata
Exif View
Extended Description
LocalFiles Editor
Mobile Theme for Tablets
OpenStreetMap
Persönliches Plugin
RV sitemap
Statistics
Tag Groups

Aber was mir auch aufgefallen ist, ist dass unter Wartung bei Größe des Cache und
kompilierte Vorgaben jeweils 0MB steht. Ist das normal?

Danke
Robert

Offline

#10 2023-02-02 11:34:57

drlecter
Piwigo Team Moderators
2016-03-17
1056

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Genau da ist das Problem. Die Größe fällt bei der Berechnung auf die Nase.
Has du Zugriff auf das Apache Log? Vielleicht sieht man da, das ein Include fehlschlägt.

Welche PHP Version hast du laufen?

Offline

#11 2023-02-02 14:56:02

Robert
Mitglied
2023-01-27
6

Re: PHP Fehler auf Startseite/Kategorienübersicht nur nach Login

Habe aktuell PHP Version 8.1.13 laufen.
Habe aber auch schon auf 7.4 umgestellt, was nicht geholfen hat.

Ich nutze all-inkl als Hoster. Mir ist jetzt keine Möglichkeit bekannt, Apache logs abzurufen und konnte auf die schnelle auch keine Infos dazu finden.

Aber ich kenne mich damit ehrlich gesagt auch nicht wirklich aus.

Offline

Brett Fußzeile

Unterstützt von FluxBB

github twitter newsletter Spenden Piwigo.org © 2002-2024 · Kontakt