An Error Occurred while deleting a user #3736

Closed
opened 2026-02-05 07:18:14 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @jasonyunliang on GitHub (Apr 9, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

when i tried to delete a user , no matter it created manually or sync it from LDAP. it all failed. I've enabled the debug view. below is what i got.

Exact BookStack Version

v23.02.2

Log Content

i tried to enable debug view while deleting a user. below is the error i've got. please help check. thanks.

Error
TypeError
BookStack\Auth\UserRepo::destroy(): Argument #2 ($newOwnerId) must be of type ?int, string given, called in /app/www/app/Http/Controllers/UserController.php on line 202

PHP Version

8.1.17

Hosting Environment

self-hosted with docker image pulled from linuxsever/bookstack

Originally created by @jasonyunliang on GitHub (Apr 9, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario when i tried to delete a user , no matter it created manually or sync it from LDAP. it all failed. I've enabled the debug view. below is what i got. ### Exact BookStack Version v23.02.2 ### Log Content i tried to enable debug view while deleting a user. below is the error i've got. please help check. thanks. Error TypeError BookStack\Auth\UserRepo::destroy(): Argument #2 ($newOwnerId) must be of type ?int, string given, called in /app/www/app/Http/Controllers/UserController.php on line 202 ### PHP Version 8.1.17 ### Hosting Environment self-hosted with docker image pulled from linuxsever/bookstack
OVERLORD added the 🐕 Support label 2026-02-05 07:18:14 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Apr 9, 2023):

This is something that was specifically addressed in v23.02.3, so please update and this should be fixed. I'm going to close this off but feel free to comment and this can be re-opened if it remains an issue in v23.02.3.

@ssddanbrown commented on GitHub (Apr 9, 2023): This is something that was specifically addressed in v23.02.3, so please update and this should be fixed. I'm going to close this off but feel free to comment and this can be re-opened if it remains an issue in v23.02.3.
Author
Owner

@jasonyunliang commented on GitHub (Apr 9, 2023):

Ok.  Got it.. Thanks a lot for quick support.

---Original---
From: "Dan @.>
Date: Sun, Apr 9, 2023 21:49 PM
To: @.
>;
Cc: @.@.>;
Subject: Re: [BookStackApp/BookStack] An Error Occurred while deleting a user (Issue #4166)

This is something that was specifically addressed in v23.02.3, so please update and this should be fixed. I'm going to close this off but feel free to comment and this can be re-opened if it remains an issue in v23.02.3.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@jasonyunliang commented on GitHub (Apr 9, 2023): Ok.  Got it.. Thanks a lot for quick support. ---Original--- From: "Dan ***@***.***> Date: Sun, Apr 9, 2023 21:49 PM To: ***@***.***>; Cc: ***@***.******@***.***>; Subject: Re: [BookStackApp/BookStack] An Error Occurred while deleting a user (Issue #4166) This is something that was specifically addressed in v23.02.3, so please update and this should be fixed. I'm going to close this off but feel free to comment and this can be re-opened if it remains an issue in v23.02.3. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.***>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3736