Package: kanboard Severity: important Tags: upstream Dear Maintainer,
If I am trying to logout from the kanboard UI, I am not able to logout because I am getting a "HTTP ERROR 500". When I look into the error log of my webserver (nginx) I see the following stack trace: Stack trace: #0 /usr/share/kanboard/app/Core/Session/SessionManager.php(62): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #1 /usr/share/kanboard/app/Controller/AuthController.php(61): Kanboard\Core\Session\SessionManager->close() #2 /usr/share/kanboard/app/Core/Controller/Runner.php(77): Kanboard\Controller\AuthController->logout() #3 /usr/share/kanboard/app/Core/Controller/Runner.php(31): Kanboard\Core\Controller\Runner->executeController() #4 /usr/share/kanboard/index.php(9): Kanboard\Core\Controller\Runner->execute() #5 {main} thrown in /usr/share/php/Symfony/Component/EventDispatcher/EventDispatcher.php on line 48" while reading response header from upstream, client: 192.168.122.1, server: kanboard, request: "GET /logout HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "kanboard" 2024/07/04 20:22:17 [error] 2890#2890: *59 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Symfony\Component\EventDispatcher\EventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /usr/share/kanboard/app/Core/Session/SessionManager.php on line 62 and defined in /usr/share/php/Symfony/Component/EventDispatcher/EventDispatcher.php:48 This is known bug it was fixed in upstream version 1.2.32. The PR 5309 in detail was fixing this issue: https://github.com/kanboard/kanboard/pull/5309/files -- System Information: Debian Release: bookworm/sid APT prefers jammy-updates APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.5.0-41-generic (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled