Larkinabout / fvtt-custom-dnd5e

11 stars 7 forks source link

[BUG] Error 'undefined reading ('children')' when Opening Character Sheet #5

Closed pikasalt closed 8 months ago

pikasalt commented 8 months ago

Describe the bug Having the module enabled causes character sheets to be unable to open. image

Steps to reproduce

  1. Have module enabled
  2. Attempt to open player character sheet.

Versions:

Additional context I have tried disabling all modules but this one and libwrapper.

Larkinabout commented 8 months ago

Have you configured languages? If so, try resaving languages in the Configure Languages menu as that's the only one that has children. If that fails, you might have to reset languages in that same menu.

I'll add a settings export in the next release so you can easily send me your configuration as it'll be something in the module's stored settings.

pikasalt commented 8 months ago

Re-saving the language config and that seemed to fix it! I did not change any of the modules settings after installing, so maybe the shipped config file is out of date/invalid?

Larkinabout commented 8 months ago

Did you update from one of the previous versions? If so, it'd make sense that it created an invalid config in one of the previous versions and retained that data even though it's correct in the latest version.

I'll add to the list to check for a valid config on save and load, so in the event it can failover to the system config instead.

Larkinabout commented 8 months ago

I've added an option to export the module's settings and configuration data in 0.5.