Fatal error with Zotero link plugin

Operating system

Windows

Joplin version

3.1.24

Editor

Markdown Editor

What issue do you have?

Since I installed the ZotéroLink Plugin, I got the following message :

Error
The text editor encountered a fatal error and could not continue. The error might be due to a plugin, so please try to disable some of them and try again.

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 'completionSource')

Version info
Joplin for Desktop

Copyright © 2016-2024 Laurent Cozic
Joplin 3.1.24 (prod, win32)

Client ID: 833f47eae267427287c115a5114667e1
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: d581264

Backup: 1.4.2
Favorites: 1.3.2
Graph: 1.1.0
Jarvis: 0.9.1
Kminder Mindmap: 0.8.6
Link Graph UI: 1.5.0
Note Link System: 0.8.0
Note Tabs: 1.4.0
PlantUML2: 1.11.0
Quick Links: 1.3.2
Rich Markdown: 0.15.1
Templates: 2.4.0
Zotero Link: 2.0.1
Plugins
[
{
"id": "joplin.plugin.note.tabs",
"name": "Note Tabs",
"enabled": true,
"version": "1.4.0"
},
{
"id": "joplin.plugin.benji.favorites",
"name": "Favorites",
"enabled": true,
"version": "1.3.2"
},
{
"id": "com.whatever.quick-links",
"name": "Quick Links",
"enabled": true,
"version": "1.3.2"
},
{
"id": "ylc395.noteLinkSystem",
"name": "Note Link System",
"enabled": true,
"version": "0.8.0"
},
{
"id": "plugin.calebjohn.rich-markdown",
"name": "Rich Markdown",
"enabled": true,
"version": "0.15.1"
},
{
"id": "com.github.marc0l92.joplin-plugin-plantUML",
"name": "PlantUML2",
"enabled": true,
"version": "1.11.0"
},
{
"id": "calandra.kminder.joplin",
"name": "Kminder Mindmap",
"enabled": true,
"version": "0.8.6"
},
{
"id": "io.github.jackgruber.backup",
"name": "Backup",
"enabled": true,
"version": "1.4.2"
},
{
"id": "joplin-plugin-knowledge-graph",
"name": "Graph",
"enabled": true,
"version": "1.1.0"
},
{
"id": "joplin.plugin.templates",
"name": "Templates",
"enabled": true,
"version": "2.4.0"
},
{
"id": "joplin.plugin.alondmnt.jarvis",
"name": "Jarvis",
"enabled": true,
"version": "0.9.1"
},
{
"id": "io.treymo.LinkGraph",
"name": "Link Graph UI",
"enabled": true,
"version": "1.5.0"
},
{
"id": "nz.magnusso.zotero-link",
"name": "Zotero Link",
"enabled": true,
"version": "2.0.1"
}
]
Stack trace
TypeError: Cannot read properties of undefined (reading 'completionSource')
at CodeMirror. (C:\Users\gaultiea.config\joplin-desktop\cache\nz.magnusso.zotero-link\zotero-link.js:1:1411)
at C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\codemirror\lib\codemirror.js:3968:22
at CodeMirror.setOption (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\codemirror\lib\codemirror.js:8304:52)
at C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteEditor\NoteBody\CodeMirror\v5\Editor.js:238:24
at commitHookEffectListMount (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:23189:26)
at commitPassiveMountOnFiber (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:24965:13)
at commitPassiveMountEffects_complete (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:24930:9)
at commitPassiveMountEffects_begin (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:24917:7)
at commitPassiveMountEffects (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:24905:3)
at flushPassiveEffectsImpl (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:27078:3)
Component stack

at Editor (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteEditor\NoteBody\CodeMirror\v5\Editor.js:76:54)
at div
at div
at div
at ErrorBoundary (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\ErrorBoundary.js:12:9)
at CodeMirror (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteEditor\NoteBody\CodeMirror\v5\CodeMirror.js:37:44)
at div
at div
at div
at NoteEditor (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\NoteEditor\NoteEditor.js:61:68)
at ConnectFunction (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at div
at I (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\styled-components\dist\styled-components.cjs.js:1:19269)
at div
at Resizable (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\re-resizable\lib\index.es5.js:220:28)
at div
at div
at ResizableLayout (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\ResizableLayout\ResizableLayout.js:54:45)
at div
at MainScreenComponent (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\MainScreen\MainScreen.js:69:9)
at ConnectFunction (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at div
at NavigatorComponent (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\Navigator.js:7:1)
at ConnectFunction (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at exports.ThemeProvider (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\styled-components\dist\styled-components.cjs.js:1:25001)
at ae (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\styled-components\dist\styled-components.cjs.js:1:13440)
at RootComponent (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\Root.js:93:1)
at ConnectFunction (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\connect.js:246:74)
at ErrorBoundary (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\gui\ErrorBoundary.js:12:9)
at Provider (C:\Users\gaultiea\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\react-redux\lib\components\Provider.js:19:3)

If i uninstall the plugin, everything goes back to normal but I would like to use it.

I posted the issue here : Issue after installing the plugin · Issue #22 · jannessm/joplin-zotero-link · GitHub

Can you help me ?

I tried uninstalling the template plugin but I got the same message.

Thank you in advance for any help.