🐛 Bug Report: As an admin, I cannot edit a user from the Users page #313

Closed
opened 2025-10-08 00:02:54 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @jonasclaes on GitHub.

Reproduction steps

  1. Log in as an Admin
  2. Navigate to the Users page
  3. Press the "..." on any user
  4. Click on "Edit"

Expected behavior

It should open the Edit page for the corresponding user.

Actual Behavior

The edit page does not show up, and the browser does not navigate to it. An error pops up in the browser console.

CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1
CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument')
    at q (CGm6yeex.js:1:4806)
    at HTMLDocument.t (host-additional-hooks.js:1:463703)
q @ CGm6yeex.js:1
t @ host-additional-hooks.js:1

Version and Environment

Pocket ID v0.37.0
Caddy is running as reverse proxy in front of Pocket ID. API routes seem to be working fine as they return valid data. Front end does not look broken.

Log Output

No response

Originally created by @jonasclaes on GitHub. ### Reproduction steps 1. Log in as an Admin 2. Navigate to the Users page 3. Press the "..." on any user 4. Click on "Edit" ### Expected behavior It should open the Edit page for the corresponding user. ### Actual Behavior The edit page does not show up, and the browser does not navigate to it. An error pops up in the browser console. ``` CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 CGm6yeex.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'ownerDocument') at q (CGm6yeex.js:1:4806) at HTMLDocument.t (host-additional-hooks.js:1:463703) q @ CGm6yeex.js:1 t @ host-additional-hooks.js:1 ``` ### Version and Environment Pocket ID v0.37.0 Caddy is running as reverse proxy in front of Pocket ID. API routes seem to be working fine as they return valid data. Front end does not look broken. ### Log Output _No response_
OVERLORD added the bug label 2025-10-08 00:02:54 +03:00
Author
Owner

@jonasclaes commented on GitHub:

I've fixed the issue. Leaving the following here in case someone else runs into this: I needed to restart the container a second time, and fully clear the browser cache. Afterwards, the errors went away. My assumption is that some frontend files were not served correctly/up to date.

@jonasclaes commented on GitHub: I've fixed the issue. Leaving the following here in case someone else runs into this: I needed to restart the container a second time, and fully clear the browser cache. Afterwards, the errors went away. My assumption is that some frontend files were not served correctly/up to date.
Author
Owner

@kmendell commented on GitHub:

I cant replicate this at all. Have you tried a full container restart yet? im curious if that would fix it.

@kmendell commented on GitHub: I cant replicate this at all. Have you tried a full container restart yet? im curious if that would fix it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#313