nextcloud / files_rightclick

👉 Right click menu for Nextcloud
https://apps.nextcloud.com/apps/files_rightclick
GNU Affero General Public License v3.0
65 stars 23 forks source link

Uncaught TypeError: instance is undefined #162

Closed figure002 closed 10 months ago

figure002 commented 1 year ago

I have two instances of Nextcloud, both running Nextcloud 25.0.6 with Right click 1.4.0. Right click works fine in the first instance, but not in the second instance. In the second instance attempting right click in Files results in the following console error:

Uncaught TypeError: instance is undefined
    jQuery 8
    showMenu menu.js:139
    show merged-index.js:3973
    _showMenu merged-index.js:3319
    Underscore 3
    _renderInlineAction merged-index.js:3399
    jQuery 9
    <anonymous> files.js:15
    onClick script.js:285
    jQuery 2
jquery.fancybox.js:3720:7
    jQuery 8
    showMenu menu.js:139
    show merged-index.js:3973
    _showMenu merged-index.js:3319
    Underscore 3
    _renderInlineAction merged-index.js:3399
    jQuery 9
    <anonymous> files.js:15
    onClick script.js:285
    jQuery 2

And the entire Nextcloud interface becomes unresponsive and I have to refresh the page. It used to work just fine, but some weeks ago it stopped working (we were running 24.0.8 back then, and updating to 25.0.6 did not fix it). The system check does not report any Security & setup warnings. Any idea what could be causing this? How can I debug this further?