Closed yjeroen closed 2 years ago
hm, do you know which module the setting that errors belongs to? I'm not able to reproduce it at my end currently.
I managed to trigger the error below with Minimal UI enable
foundry.js:316 TypeError: Error thrown in hooked function '' for hook 'renderSettingsConfig': Cannot read properties of null (reading 'style') at colorSetting.js:537:21 at colorSetting.js:539:11 at Function._call (foundry.js:294:14) at Function.call (foundry.js:279:33) at SettingsConfig._render (foundry.js:3117:13) at async SettingsConfig._render (foundry.js:3764:5)
I'm still not able to reproduce, is there any kind of changed settings you have for Minimal UI?
at least the issue is that it can't find an element specified by div.settings-list div.form-group.submenu button[data-key="${_this.module}.${_this.key}"]
but unless Minimal UI greatly changes the interface in settings (which it doesnt for me) it should still work.
On which system are you (dnd5e etc.)
This should generate the error.
Ah, I see, it errors when it tries to add a color to a button that the user doesn't have access to because of permissions. Will fix!