mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 16:49:47 +03:00
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: BookStack\Auth\User::getDefault(): Return value must be of type #3623
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ArtemDolor on GitHub (Mar 16, 2023).
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
I deleted a guest user in the database and everything crashed, in the logs
Exact BookStack Version
v23.02
Log Content
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: BookStack\Auth\User::getDefault(): Return value must be of type BookStack\Auth\User, null returned in /bookstack/app/Auth/User.php:106
PHP Version
8.2
Hosting Environment
Debian 11, Nginx and MariaDB