-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detailtopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UI
Description
Description
Gitea upgraded from 1.20.5 to 1.21.5, and the Web frontend gives an error:
JavaScript promise rejection: TypeError: Cannot read properties of undefined (reading 'facebook.json'). Open browser console to see more details.
The problem persisted even after Chrome's cache was cleared.
browser console output:
VM32:8298 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'facebook.json')
at getConfig (<anonymous>:8298:42)
at ClickToLoad.init (<anonymous>:11099:37)
at ClickToLoad.callInit (<anonymous>:3140:18)
at <anonymous>:11401:33
at Array.forEach (<anonymous>)
at Object.init (<anonymous>:11399:26)
getConfig @ VM32:8298
init @ VM32:11099
callInit @ VM32:3140
(anonymous) @ VM32:11401
init @ VM32:11399
await in init (async)
apply @ VM32:11467
(anonymous) @ VM50:3
(anonymous) @ VM50:5
inject @ inject.js:114
(anonymous) @ inject.js:211
Show 2 more frames
Show less
Screenshots
Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
No
Operating System
Windowns
Browser Version
Chrome 121.0.6167.185
Metadata
Metadata
Assignees
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detailtopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UI