Forien / foundryvtt-forien-quest-log

This module provides comprehensive Quest Log system for players and Game Masters to use with Foundry Virtual Tabletop
MIT License
22 stars 35 forks source link

[BUG] TypeError: An error occurred while rendering QuestLog 2: Cannot read property 'name' of null #104

Open mvanduijvenvoorde opened 3 years ago

mvanduijvenvoorde commented 3 years ago

Module Version: v0.5.1

Describe the bug I can't use the quest log anymore. It does not appear for me as DM. My players can still use it though. Because of this error I'm forced to switch back to the standard journal note way of quest logging.

When I press the Quest Log button I get the following error:

foundry.js:4406 TypeError: An error occurred while rendering QuestLog 2: Cannot read property 'name' of null
    at Function.populate (quest.mjs:375)
    at Function.getContent (quest.mjs:413)
    at quest.mjs:432
    at Array.forEach (<anonymous>)
    at Function.getQuests (quest.mjs:431)
    at QuestLog.getData (quest-log.mjs:47)
    at QuestLog._render (foundry.js:4434)
    at QuestLog.render (foundry.js:4404)
    at HTMLButtonElement.<anonymous> (init.mjs:57)
    at HTMLButtonElement.dispatch (jquery.min.js:2)
(anonymous) @ foundry.js:4406

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior I expected the Quest Log to open when I press the Quest Log button.

Screenshots You can't see anything besides the error in the console.log

Browser: Chrome (latest version)

Foundry Version: 0.7.5

Game System: DnD 5e 0.98