-
Notifications
You must be signed in to change notification settings - Fork 168
Description
Issue Description
After installing add-ons derived from this template in Zotero 7, the following error consistently appears in the Debug Output Console:
[JavaScript Error: "uncaught exception: undefined"]
This error occurs during the following actions:
- Installing the
.xpifile - Starting Zotero with the add-on installed
- Uninstalling the add-on
When the add-on is not installed, the error does not appear. This suggests that the issue originates from extensions built using this template.
Test Environment
-
Zotero version: 7.0.27 (64-bit)
-
Operating System: Windows 11
-
Add-ons tested:
(All tested releases exhibit the same issue. Zotero’s official demo add-on “Make It Red” also triggers this error.)
Steps to Reproduce
- Open Zotero 7 (version 7.0.27, 64-bit).
- Install any add-on derived from this template.
- Go to Help → Debug Output Logging → Restart with Logging Enabled…
- After restart, open Help → Debug Output Logging → View Output.
- Observe the error message in the console.
Sample Results
Zotero Plugin Template
Zotero Better Notes
Additional Notes
I’ve observed this same “uncaught exception: undefined” message across multiple Zotero add-ons.
After some investigation, I traced the issue back to this plugin template, which suggests the root cause may lie in the shared structure or initialization code used across these add-ons.
This issue has been reproduced on Windows 11 and Ubuntu, and further testing on macOS is needed to verify whether it occurs consistently across platforms.