Skip to content

[BUG] AppNotifications won't start "Cannot read properties of undefined (reading 'render')" #406

@Infinitay

Description

@Infinitay

Describe the Bug
Plugin no longer starts

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'render')
    at Object.initialize (InAppNotifications.plugin.js:532:22)
    at Object.initialize (InAppNotifications.plugin.js:553:23)
    at plugin.onStart (InAppNotifications.plugin.js:678:20)
    at plugin.start (0PluginLibrary.plugin.js:3667:54)
    at N.startPlugin (renderer.js:5:47631)
    at N.startAddon (renderer.js:5:47424)
    at N.enableAddon (renderer.js:5:10639)
    at N.toggleAddon (renderer.js:5:11438)
    at N.togglePlugin (renderer.js:5:44712)
    at renderer.js:5:127040
    at renderer.js:5:166730
    at ch (web.bca75a43edb4c883.js:12:1210927)
    at web.bca75a43edb4c883.js:12:1215976
    at tM (web.bca75a43edb4c883.js:12:1104309)
    at cO (web.bca75a43edb4c883.js:12:1212234)
    at uG (web.bca75a43edb4c883.js:12:1242447)
    at uj (web.bca75a43edb4c883.js:12:1242269)
initialize	@	InAppNotifications.plugin.js:532
initialize	@	InAppNotifications.plugin.js:553
onStart	@	InAppNotifications.plugin.js:678
start	@	0PluginLibrary.plugin.js:3667
startPlugin	@	renderer.js:5
startAddon	@	renderer.js:5
enableAddon	@	renderer.js:5
toggleAddon	@	renderer.js:5
togglePlugin	@	renderer.js:5
(anonymous)	@	renderer.js:5
(anonymous)	@	renderer.js:5
ch	@	web.bca75a43edb4c883.js:12
(anonymous)	@	web.bca75a43edb4c883.js:12
tM	@	web.bca75a43edb4c883.js:12
cO	@	web.bca75a43edb4c883.js:12
uG	@	web.bca75a43edb4c883.js:12
uj	@	web.bca75a43edb4c883.js:12

To Reproduce
Attempt to start AppNotifications v1.1.6 (#398) on the current latest BD

Expected Behavior
For the plugin to start up properly and work

Screenshots

Discord Version

## Discord Info
stable 397439 (d0d086b) Host 1.0.9191 x64 (63170) Build Override: N/A Windows 10 64-bit (10.0.19045)

## BetterDiscord
stable 1.12.4

### Plugins (24 Enabled):
- ServerFolders (Enabled)
- BDFDB (Enabled)
- ChannelTabs (Enabled)
- FavoriteMedia
- ServerCounter (Enabled)
- BiggerStreamPreview (Enabled)
- ImageUtilities (Enabled)
- Uncompressed Images (Enabled)
- ZeresPluginLibrary (Enabled)
- GameActivityToggle (Enabled)
- PinDMs (Enabled)
- CharCounter (Enabled)
- BetterSearchPage (Enabled)
- InsertTimestamps (Enabled)
- Timezones (Enabled)
- MemberCount (Enabled)
- DoNotTrack (Enabled)
- BetterVolume (Enabled)
- ThemeRepo (Enabled)
- SpotifyListenAlong (Enabled)
- AppNotifications (Enabled)
- RemoveChatButtons (Enabled)
- CallTimeCounter (Enabled)
- BetterFormattingRedux (Enabled)
- UserVolumeBooster
- GuildProfile
- UserDetails
- QuickDeleteMessages (Enabled)

### Themes (1 Enabled):
- dracula (Enabled)
- midnight (catppuccin mocha)
- midnight
- Ultra

Additional Context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions