[GH-ISSUE #4159] Avatar not found #2695

Open
opened 2026-02-26 07:36:30 +03:00 by kerem · 3 comments
Owner

Originally created by @villcabo on GitHub (Nov 13, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4159

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

When I delete a user who has performed operations such as add host, ssl certificates.

Nginx Proxy Manager Version

v2.12.1

To Reproduce
Steps to reproduce the behavior:

  1. Create a user with the user administrator
  2. Login with the created user
  3. Create a certificate or host
  4. With the administrator user, delete the created user.
  5. Go to host or certificates and you will see the error “Cannot read properties of null (reading ‘avatar’)”

Expected behavior

Screenshots

image

Operating System

Ubuntu 24.04

Additional context

Originally created by @villcabo on GitHub (Nov 13, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4159 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** <!-- A clear and concise description of what the bug is. --> When I delete a user who has performed operations such as add host, ssl certificates. **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> v2.12.1 **To Reproduce** Steps to reproduce the behavior: 1. Create a user with the user administrator 2. Login with the created user 3. Create a certificate or host 4. With the administrator user, delete the created user. 5. Go to host or certificates and you will see the error “Cannot read properties of null (reading ‘avatar’)” **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> ![image](https://github.com/user-attachments/assets/f0b5c33f-828d-4276-ad7c-b3ac016ef594) **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> Ubuntu 24.04 **Additional context** <!-- Add any other context about the problem here, docker version, browser version, logs if applicable to the problem. Too much info is better than too little. -->
Author
Owner

@shalafi99 commented on GitHub (Nov 13, 2024):

It seems this behavior was described under #2041

<!-- gh-comment-id:2475032970 --> @shalafi99 commented on GitHub (Nov 13, 2024): It seems this behavior was described under #2041
Author
Owner

@kerstenremco commented on GitHub (Nov 15, 2024):

Added PR #4166 for this issue

<!-- gh-comment-id:2479159390 --> @kerstenremco commented on GitHub (Nov 15, 2024): Added PR #4166 for this issue
Author
Owner

@github-actions[bot] commented on GitHub (Jun 26, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:3006810121 --> @github-actions[bot] commented on GitHub (Jun 26, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2695
No description provided.