Page 1 of 1

PHP Error 500 bei Aufruf Menüpunkt E-Mail Adressen

Posted: Wed 19. Feb 2025, 07:31
by flancrest
Ich bin sicher, dass die Ursache des Problems bei KeyHelp liegt
ja


Server-Betriebssystem + Version
Ubuntu 24.04


Eingesetzte Server-Virtualisierung-Technologie
KVM


KeyHelp-Version + Build-Nummer
25.0 - Build 3398


Problembeschreibung / Fehlermeldungen
Mutmaßlich seit Update auf KH 25 erhalte ich in einem Kundenaccount beim Aufrufen des Menüpunkts "E-Mail Adressen" einen Error 500 im Browser. Das php-error.log liefert parallel dazu den unten stehenden Fehler.

Erwartetes Ergebnis
Der Inhalt des Menüpunkts "E-Mail Adressen" wird angezeigt

Tatsächliches Ergebnis
Error 500 wird angezeigt

Schritte zur Reproduktion
Login als Kunde in Keyhelp (bzw. Login als Admin und Wechsel zu Kundenansicht) -> Klick auf den Menüpunkt "E-Mail Adressen"


Zusätzliche Informationen
Auszug aus der php-error.log:

Code: Select all

[19-Feb-2025 00:18:01 Europe/Berlin] PHP Warning:  Undefined array key "spam_tag_score" in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php on line 997
[19-Feb-2025 00:18:01 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: EmailAccount::setSpamTagScore(): Argument #1 ($score) must be of type float, null given, called in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php on line 997 and defined in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php:617
Stack trace:
#0 /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php(997): EmailAccount->setSpamTagScore()
#1 /home/keyhelp/www/keyhelp/core-old/Generic/SelfStoringObject.php(397): EmailAccount::load()
#2 /home/keyhelp/www/keyhelp/cronjob/jobs/diskspace.php(84): SelfStoringObject::loadByIdUser()
#3 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(468): unknown()
#4 {main}
  thrown in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php on line 617
[19-Feb-2025 01:02:02 Europe/Berlin] PHP Warning:  Undefined array key "spam_tag_score" in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php on line 997
[19-Feb-2025 01:02:02 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: EmailAccount::setSpamTagScore(): Argument #1 ($score) must be of type float, null given, called in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php on line 997 and defined in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php:617
Stack trace:
#0 /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php(997): EmailAccount->setSpamTagScore()
#1 /home/keyhelp/www/keyhelp/cronjob/jobs/cleanup.php(143): EmailAccount::load()
#2 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(468): unknown()
#3 {main}
  thrown in /home/keyhelp/www/keyhelp/core-old/Model/EmailAccount.php on line 617

Re: PHP Error 500 bei Aufruf Menüpunkt E-Mail Adressen  [GELÖST]

Posted: Wed 19. Feb 2025, 09:16
by Alexander
Grüße,

sieht danach aus das das Panel-Update nicht korrekt durchlaufen wurde.

Aktiviere den Support-Zugang (unter Konfiguration) und schick mir die Server-IP/Hostnamen, dann bieg ich es wieder gerade.

-> Erledigt

Re: PHP Error 500 bei Aufruf Menüpunkt E-Mail Adressen

Posted: Wed 19. Feb 2025, 11:58
by flancrest
@Alexander, vielen Dank für die schnelle Remote-Hilfe, Problem ist gelöst!

Re: PHP Error 500 bei Aufruf Menüpunkt E-Mail Adressen

Posted: Tue 11. Mar 2025, 21:04
by tuks
Moin,

ich habe wohl exakt den gleichen Fehler. Wie kann ich diesen denn beheben?

Re: PHP Error 500 bei Aufruf Menüpunkt E-Mail Adressen

Posted: Wed 12. Mar 2025, 08:44
by Alexander
Hallo,
Aktiviere den Support-Zugang (unter Konfiguration) und schick mir die Server-IP/Hostnamen, dann bieg ich es wieder gerade.