Can't delete user from cli in no-interaction mode #130

Closed
opened 2026-02-05 17:10:29 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @rmartinoscar on GitHub (Jul 12, 2024).

Current Behavior

Unable to remove a user in no-interaction/quiet mode
it returns

In Builder.php line 494:
                                                                                                                                                                                      
  No query results for model [App\Models\User] 285f0226-7bd9-4f2b-ad11-26c7adacb9bf, test@test.fr, en, , , 2024-07-12T14:34:34.000000Z, 2024-07-12T14:34:34.000000Z, , , test, , UTC

(I'v checked the data in sqlite and they are correct so he found the user but think it didn't for some reason)

Expected Behavior

Should succeed and print

User successfully deleted from the Panel.

Steps to Reproduce

php artisan p:user:delete -n --user=5 (same happens with email instead of id)

Panel Version

1.0.0-beta6

Wings Version

1.0.0-beta3

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

No response

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @rmartinoscar on GitHub (Jul 12, 2024). ### Current Behavior Unable to remove a user in no-interaction/quiet mode it returns ``` In Builder.php line 494: No query results for model [App\Models\User] 285f0226-7bd9-4f2b-ad11-26c7adacb9bf, test@test.fr, en, , , 2024-07-12T14:34:34.000000Z, 2024-07-12T14:34:34.000000Z, , , test, , UTC ``` (I'v checked the data in sqlite and they are correct so he found the user but think it didn't for some reason) ### Expected Behavior Should succeed and print ``` User successfully deleted from the Panel. ``` ### Steps to Reproduce `php artisan p:user:delete -n --user=5` (same happens with email instead of id) ### Panel Version 1.0.0-beta6 ### Wings Version 1.0.0-beta3 ### Games and/or Eggs Affected _No response_ ### Docker Image _No response_ ### Error Logs _No response_ ### Is there an existing issue for this? - [X] I have searched the existing issues before opening this issue. - [X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [X] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
OVERLORD added the 🟢 easy label 2026-02-05 17:10:29 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#130