BetterDiscordAddons icon indicating copy to clipboard operation
BetterDiscordAddons copied to clipboard

[Bug] PermissionsViewer - TypeError: Cannot read property 'props' of undefined

Open XxUnkn0wnxX opened this issue 2 years ago • 0 comments

Which plugin/theme is this about?

PermissionsViewer

Describe the Bug

Getting Consoles Errors:

08ce303d89ee3475a651.js:130 [Patcher] Could not fire after callback of default for PermissionsViewer TypeError: Cannot read property 'props' of undefined
    at Object.patch [as callback] (betterdiscord://plugins/PermissionsViewer.plugin.js:579)
    at Object.<anonymous> (betterdiscord://plugins/0PluginLibrary.plugin.js:3524)
    at callOriginalMethod (betterdiscord://plugins/0BDFDB.plugin.js:2356)
    at betterdiscord://plugins/0BDFDB.plugin.js:230
    at module.<computed> (betterdiscord://plugins/0BDFDB.plugin.js:2371)
    at so (2bd2f3915e11d0a58c2f.js:5352)
    at Ko (2bd2f3915e11d0a58c2f.js:5362)
    at $s (2bd2f3915e11d0a58c2f.js:5405)
    at Gu (2bd2f3915e11d0a58c2f.js:5395)
    at wu (2bd2f3915e11d0a58c2f.js:5395)
    at Uu (2bd2f3915e11d0a58c2f.js:5395)
    at yu (2bd2f3915e11d0a58c2f.js:5392)
    at 2bd2f3915e11d0a58c2f.js:5337
    at t.unstable_runWithPriority (2bd2f3915e11d0a58c2f.js:5520)
    at Ki (2bd2f3915e11d0a58c2f.js:5337)
    at qi (2bd2f3915e11d0a58c2f.js:5337)
    at Xi (2bd2f3915e11d0a58c2f.js:5337)
    at Ou (2bd2f3915e11d0a58c2f.js:5392)
    at e.emitChanges (2bd2f3915e11d0a58c2f.js:3673)
    at t.exports (08ce303d89ee3475a651.js:21)
    at g.<computed> (08ce303d89ee3475a651.js:36)
    at Number.m (08ce303d89ee3475a651.js:36)

also, the individual permissions from the user's pop out menu have gone missing

To Reproduce

Open Console in discord to view errors, click on any user to try & view their permissions underneath their roles.

Expected Behavior

to not have an error in console as well as able to view the permissions under the roles tab as shown off here Screen Shot 2022-02-01 at 8 10 03 pm

Screenshots

Screen Shot 2022-02-01 at 8 07 35 pm

Screen Shot 2022-02-01 at 8 13 35 pm

Discord Version

Stable 112818 (e65900e)
BetterDiscord 1.5.0
Host 0.0.264

Additional Context

discord.com-1643704496575.log debug.log

XxUnkn0wnxX avatar Feb 01 '22 09:02 XxUnkn0wnxX