Initially, I've created a modern template and run the test file. Now, I see into the admin Debugging logs.
There are all templates are available with checkbox. If I click a modern template means, it works fine. Then after click Classic, it throwing error.
Yeah, the template defaults are a bit of an inconsistent mess
I've added the above fix with new PR without conflict. Because of the above PR has some conflicts. The fix version 184.108.40.206 SNAPSHOT is not available so I've changed the fix version to 220.127.116.11 SNAPSHOT instead of 18.104.22.168 SNAPSHOT.
Pull Request: https://github.com/lucee/Lucee/pull/843