An apology... I'm not a developer, but the Zotero-Night plugin has a lot of bugs. Apparently the developer is short on time and has been unable to address those bugs for two months now. In fact, for that reason I uninstalled that plugin.
Have you tried to disable it and check if the error continues?
https://github.com/tefkah/zotero-night/issues/17
Have you tried to disable it and check if the error continues?