Skip to content

"Uncaught TypeError: Cannot read properties of null (reading 'avatar')" When attempting to view several UI elements #4838

@FatherOfCurses

Description

@FatherOfCurses

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 attempting to view the following UI features, a blank page is displayed and the error "Uncaught TypeError: Cannot read properties of null (reading 'avatar')" displays in the console.

  • /nginx/proxy (Proxy hosts)
  • /certificates (Certificates)

Other UI sections will display.

The offending minified code appears to be at index-CGMbvQTG.js,

function $a({data: e, isFetching: t, onDelete: r, onRenew: n, onDownload: a, isFiltered: i}) { const l = Lr() , u = g.useMemo( () => [l.accessor(o => o.owner, { id: "owner", cell: o => { const f = o.getValue(); return c.jsx(Cr, { url: f.avatar, name: f.name }) }

Nginx Proxy Manager Version
v2.13.0

To Reproduce
Steps to reproduce the behavior:

  1. Log in to Nginx Proxy Manager.
  2. Click "Proxy Hosts" card or select "Hosts -> Proxy Hosts" from the menu
    Alternate bug behavior - Select "Certificates" from the menu

Expected behavior
The correct UI elements should display

Operating System
Using Nginx Proxy Manager in a Docker container on an Ubuntu Linux server.
Accessing via a Vivaldi browser on an Arch Linux system. Also tested with Firefox on Arch Linux and Vivaldi on Mac.
No errors in docker container logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions