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