BetterDiscord: [Bug] BetterDiscord keeps crashing randomly

Before Reporting

  • I found no existing issues matching my bug
  • My issue is not caused by a plugin or theme

Describe the Bug

BetterDiscord randomly crashes very often after the last update

Error in the console: Error: Menu API only allows Items and groups of Items as children. Received [object Object] (object) instead at 288aa17d3bf2f0a3351d.js:2748 at Array.reduce (<anonymous>) at qr (288aa17d3bf2f0a3351d.js:2747) at 288aa17d3bf2f0a3351d.js:2747 at Array.reduce (<anonymous>) at qr (288aa17d3bf2f0a3351d.js:2747) at Jr (288aa17d3bf2f0a3351d.js:2750) at Sa (288aa17d3bf2f0a3351d.js:1608) at yu (288aa17d3bf2f0a3351d.js:1662) at Oc (288aa17d3bf2f0a3351d.js:1655) at Ic (288aa17d3bf2f0a3351d.js:1655) at hc (288aa17d3bf2f0a3351d.js:1654) at ic (288aa17d3bf2f0a3351d.js:1651) at oc (288aa17d3bf2f0a3351d.js:1650) at g (288aa17d3bf2f0a3351d.js:1772) at L (288aa17d3bf2f0a3351d.js:1773) at t.exports (ff334c0250254fc1c9ca.js:21) at g.<computed> (ff334c0250254fc1c9ca.js:36) at Number.m (ff334c0250254fc1c9ca.js:36) at MessagePort.b (ff334c0250254fc1c9ca.js:36)

I have no themes and no plugins I alredy have the new asar file that should fix it, but it doesn’t (https://cdn.discordapp.com/attachments/826217269323235358/1079920833662816277/betterdiscord.asar) (https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389)

Expected Behavior

BetterDiscord shouldn’t crash

Steps To Reproduce

  1. Open BetterDiscord
  2. Interact with the application in any way or just wait a bit

Operating System

Windows

Discord Version

Stable

BetterDiscord Version

Core v1.8.4

Anything else?

Settings button just moved behind deafen button (I can still click it tho)

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 13
  • Comments: 17 (1 by maintainers)

Most upvoted comments

Trying to open settings or update plugins causes a crash for me too.

This issue has been resolved. The installer doesn’t seem to download the latest version of BD yet, but you can install the fix manually.

Here’s how to install the fix manually:

  1. Close Discord and head to https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389
  2. Download the betterdiscord.asar (which will be a zip)
  3. Extract it to %appdata%\BetterDiscord\data (C:\Users\YOU\AppData\Roaming\BetterDiscord\data), overwriting the previous one
  4. Re-open Discord