question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Channel Tabs] Issue: Crashes discord

See original GitHub issue

Describe the bug Discord just crashes for me, upon enabling the plugin, it worked before, even with the new update, but stopped working after the latest.

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘Settings -> Plugins’
  2. Click on ‘Enable Channel Tabs plugin’
  3. Discord crashes

Expected behavior Not crashing

Screenshots Not needed, error below.

Information (please complete the following information):

  • OS: Windows
  • Plugin Version: 2.5.3
  • Discord version: Stable,
  • Compact Mode enabled? yes

Additional context

27c10ebf0d5b61a94aa1.js:137 [PluginManager] ChannelTabs v2.5.3 could not be started. TypeError: Cannot read property 'cancel' of undefined
    at ChannelTabs.onStop (betterdiscord://plugins/ChannelTabs.plugin.js:2353)
    at ChannelTabs.stop (betterdiscord://plugins/0PluginLibrary.plugin.js:6471)
    at Object.stopPlugin (<anonymous>:4:232346)
    at Object.stopAddon (<anonymous>:4:231671)
    at Object.disableAddon (<anonymous>:4:193909)
    at Object.toggleAddon (<anonymous>:4:193974)
    at Object.togglePlugin (<anonymous>:4:229675)
    at ot.onChange (<anonymous>:4:205509)
    at qe.onChange (<anonymous>:4:199721)
    at Object.Fe (2d4f7b2b96b7e61d2117.js:4126)
    at qe (2d4f7b2b96b7e61d2117.js:4126)
    at 2d4f7b2b96b7e61d2117.js:4146
    at yr (2d4f7b2b96b7e61d2117.js:4146)
    at Ar (2d4f7b2b96b7e61d2117.js:4146)
    at 2d4f7b2b96b7e61d2117.js:4152
    at Ue (2d4f7b2b96b7e61d2117.js:4230)
    at 2d4f7b2b96b7e61d2117.js:4148
    at Dr (2d4f7b2b96b7e61d2117.js:4148)
    at Zt (2d4f7b2b96b7e61d2117.js:4135)
    at Qt (2d4f7b2b96b7e61d2117.js:4135)
    at t.unstable_runWithPriority (2d4f7b2b96b7e61d2117.js:4236)
    at Hi (2d4f7b2b96b7e61d2117.js:4156)
    at Pe (2d4f7b2b96b7e61d2117.js:4229)
    at Xt (2d4f7b2b96b7e61d2117.js:4134)
    at HTMLDivElement.r (27c10ebf0d5b61a94aa1.js:133)
(anonymous) @ 27c10ebf0d5b61a94aa1.js:137
27c10ebf0d5b61a94aa1.js:137 [ChannelTabs] version 2.5.3 has started.
27c10ebf0d5b61a94aa1.js:137 TypeError: Cannot read property 'guild_id' of undefined
    at getCurrentUserStatus (betterdiscord://plugins/ChannelTabs.plugin.js:1092)
    at betterdiscord://plugins/ChannelTabs.plugin.js:1780
    at u.i [as memoizedGetStateFromStores] (2d4f7b2b96b7e61d2117.js:3848)
    at u.l.render (2d4f7b2b96b7e61d2117.js:3847)
    at Ha (2d4f7b2b96b7e61d2117.js:4184)
    at xa (2d4f7b2b96b7e61d2117.js:4184)
    at Hs (2d4f7b2b96b7e61d2117.js:4221)
    at yu (2d4f7b2b96b7e61d2117.js:4212)
    at Iu (2d4f7b2b96b7e61d2117.js:4211)
    at gu (2d4f7b2b96b7e61d2117.js:4211)
    at fu (2d4f7b2b96b7e61d2117.js:4208)
    at 2d4f7b2b96b7e61d2117.js:4157
    at t.unstable_runWithPriority (2d4f7b2b96b7e61d2117.js:4236)
    at Hi (2d4f7b2b96b7e61d2117.js:4156)
    at ji (2d4f7b2b96b7e61d2117.js:4157)
    at Bi (2d4f7b2b96b7e61d2117.js:4157)
    at su (2d4f7b2b96b7e61d2117.js:4206)
    at Object.enqueueForceUpdate (2d4f7b2b96b7e61d2117.js:4161)
    at t.h.forceUpdate (2d4f7b2b96b7e61d2117.js:3849)
    at ReflectionInstance.forceUpdate (betterdiscord://plugins/0PluginLibrary.plugin.js:3270)
    at ReactComponent.forceUpdateAll (betterdiscord://plugins/0PluginLibrary.plugin.js:2724)
    at ChannelTabs.patchAppView (betterdiscord://plugins/ChannelTabs.plugin.js:3006)```

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Lusiikycommented, Jul 31, 2021

Can you please try this version and see if it works?

So yes, the tabs work. But I still get an error at startup (which doesn’t seem to be a problem):

image

[PluginManager] Unable to fire onSwitch for ChannelTabs v2.5.3 TypeError: Cannot read property 'guild_id' of undefined
    at getCurrentIconUrl (betterdiscord://plugins/ChannelTabs.plugin.js:1185)
    at betterdiscord://plugins/ChannelTabs.plugin.js:3080
    at Array.map (<anonymous>)
    at ChannelTabs.onSwitch (betterdiscord://plugins/ChannelTabs.plugin.js:3072)
    at Object.onSwitch (<anonymous>:4:233089)
    at Object.dispatch (<anonymous>:4:150442)
    at EventEmitter.<anonymous> (<anonymous>:4:160015)
1reaction
slip1244commented, Jul 30, 2021

I get the same error as @Lupsoris

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Discord's Crash Issues - Online Tech Tips
Fix Discord Keeps Crashing by Deleting the AppData · Right-click the Windows taskbar and select Task Manager. · Choose Discord in the app...
Read more >
How to Stop Discord Crashing or Freezing in Windows 10 and ...
To do this quickly, press Ctrl + Shift + Esc to open Task Manager. Go to the Processes tab and highlight any program...
Read more >
Fix Discord Crashing | Multiple Fixes | Updated - YouTube
Discord crashing on startup, randomly, when joining a channel, when using camera or when joining a stream/streaming? This video covers a ton ...
Read more >
12 Best Fixes for Discord Keeps Crashing or Freezing on Mobile
Sometimes, apps crash due to a bug in them. The developers are quick to push an update to fix the issue. You should...
Read more >
discord tab keeps crashing and I have no clue why - Reddit
discord tab keeps crashing and I have no clue why ... I think Discord is having issues right now. ... r/discordapp - Server...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found