Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

[Bug] New Pages that have never been visited cannot have objects created on them.

1788718690
Aerotech
Pro
API Scripter
Using Sandbox [v1.5 2026-08-19] New Pages that have never been looked at cause crashes when a plugin tries to create an object on said page. Here is the stack trace: TypeError: this.get(...).split is not a function at page.adjustZOrder (file:///home/node/d20-api-server/src/objects/Roll20Object.js:1429:91) at text.toFront (file:///home/node/d20-api-server/src/objects/Roll20Object.js:934:17) at text.postCreate (file:///home/node/d20-api-server/src/objects/Roll20Object.js:2746:14) at Object.postCreate (file:///home/node/d20-api-server/src/objects/Roll20Object.js:1050:36) at createObj (file:///home/node/d20-api-server/src/createObj.js:128:9) at createObj (file:///home/node/d20-api-server/api.js:2126:24) at setConfigOnPage (SCRIPT: [Dev] Gaslight [Tab 61]:425:13) at processNext (SCRIPT: [Dev] Gaslight [Tab 61]:1658:13) at doQuick (SCRIPT: [Dev] Gaslight [Tab 61]:1690:9) at handleInput (SCRIPT: [Dev] Gaslight [Tab 61]:4268:29)
1788744912
The Aaron
Roll20 Production Team
API Scripter
That is really peculiar!  I'll repro that and see about fixing it. 
1788790140
The Aaron
Roll20 Production Team
API Scripter
OK, I've tracked down the issue.  I'll get some tests around it and get a deploy out to fix it!
1788802798
The Aaron
Roll20 Production Team
API Scripter
This fix is now deployed, thanks for reporting the issue!