Fatal error when updating to v3.1.18

Operating system

macOS

Joplin version

3.1.18

Sync target

Nextcloud

What issue do you have?

After updating to 3.1.18 I get an endless blank page.
I tried to go back to my previous 3.0.15 and went well but when I clicked on settings I got a fatal error:

Error
Joplin encountered a fatal error and could not continue.

To report the error, please copy the entire content of this page and post it on Joplin forum or GitHub.

If the error persists you may try to restart in safe mode, which will temporarily disable all plugins.

Message
Cannot read properties of undefined (reading 'platforms')

Version info
Joplin for Desktop

Copyright © 2016-2024 Laurent Cozic
Joplin 3.0.15 (prod, darwin)

ID del Cliente: 82c880e96d3149e78b8d60a62325ec69
Versión de la Sincronización: 3
Versión del Perfil: 47
Llavero Soportado: Sí

Revisión: 598677b

Backup: 1.4.1
Jarvis: 0.9.0
Kanban: 1.1.0
macOS theme: 1.5.8
Math Mode: 0.7.1
Note list and sidebar toggle buttons: 1.0.3
YesYouKan: 1.0.4
Plugins
[
{
"id": "io.github.jackgruber.backup",
"name": "Backup",
"enabled": true,
"version": "1.4.1"
},
{
"id": "com.github.joplin.kanban",
"name": "Kanban",
"enabled": true,
"version": "1.1.0"
},
{
"id": "org.joplinapp.plugins.YesYouKan",
"name": "YesYouKan",
"enabled": true,
"version": "1.0.4"
},
{
"id": "com.andrejilderda.macOSTheme",
"name": "macOS theme",
"enabled": true,
"version": "1.5.8"
},
{
"id": "plugin.calebjohn.MathMode",
"name": "Math Mode",
"enabled": true,
"version": "0.7.1"
},
{
"id": "org.joplinapp.plugins.ToggleSidebars",
"name": "Note list and sidebar toggle buttons",
"enabled": true,
"version": "1.0.3"
},
{
"id": "joplin.plugin.alondmnt.jarvis",
"name": "Jarvis",
"enabled": true,
"version": "0.9.0"
}
]
Stack trace
TypeError: Cannot read properties of undefined (reading 'platforms')
at minVersionForPlatform (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/isCompatible/minVersionForPlatform.js:7:30)
at isCompatible (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/isCompatible/index.js:9:60)
at PluginService.isCompatible (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/PluginService.js:397:43)
at PluginService.describeIncompatibility (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/PluginService.js:400:18)
at renderFooter (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/ConfigScreen/controls/plugins/PluginBox.js:186:98)
at default_1 (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/ConfigScreen/controls/plugins/PluginBox.js:217:9)
at renderWithHooks (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
Component stack

at default_1 (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/ConfigScreen/controls/plugins/PluginBox.js:124:15)
at div
at I (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:19269)
at div
at div
at I (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:19269)
at default_1 (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/ConfigScreen/controls/plugins/PluginsStates.js:82:64)
at div
at div
at div
at div
at div
at div
at ConfigScreenComponent (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/ConfigScreen/ConfigScreen.js:43:9)
at ConnectFunction (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:74)
at div
at NavigatorComponent (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/Navigator.js:7:1)
at ConnectFunction (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:74)
at exports.ThemeProvider (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:25001)
at ae (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/styled-components/dist/styled-components.cjs.js:1:13440)
at RootComponent (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/Root.js:104:1)
at ConnectFunction (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-redux/lib/components/connect.js:246:74)
at ErrorBoundary (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/gui/ErrorBoundary.js:21:9)
at Provider (/private/var/folders/kg/nvb5gd6972x1whljj21n3hkr0000gn/T/AppTranslocation/10F480D2-F10D-4EC0-976C-4DC38C97A288/d/Joplin.app/Contents/Resources/app.asar/node_modules/react-redux/lib/components/Provider.js:19:3)

Screenshots

Does 3.1.18 work if the MacOS theme plugin is disabled? Does safe mode help? (Help > "Toggle safe mode" disables all plugins and uses a plain text editor).

Edit: I'm linking to a pull request that should fix the error experienced with v3.0.15.