
Hi there! New Roll20 DM here and absolute novice at coding/html. At the start of a session the APIs I have work just great. I have the Roll20 OGL Companion, Hitdice, Torch and Cycling Tips. Midway through a sessions it will crash and all the cool things stop, including the automated Hitdice adding to health spellslot tracking. It always reads the below text (I shouldn't say always, I don't know that, it just always looks the same to my novice-coding eyes), how do I stop it crashing please: "Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again. More info... For reference, the error message generated was: TypeError: Cannot read property 'split' of undefined
TypeError: Cannot read property 'split' of undefined
at apiscript.js:554:58
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)
at /home/node/d20-api-server/api.js:1648:12
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)
at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)
at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:111:400