Sign In Register

How can we help you today?

Start a new topic

requireOnce() not loading at all when weird vars found

If you have a weird var (no error, but... unusual) like this (below; in my case, a typo),



an error isn't detected, yet requireOnce("SOME_MODULE") completely skips over and doesn't even attempt to load anything within the module.


It should either


A) Error in the editor when we try to save

or

B) requireOnce() should load anyway so we know where the error is (instead of skipping the entire module). In my case, it was camouflaged and I had to delete one func at a time and debug until I found it.


(PS -- on FireFox desktop, pasting an image directly into this support ticket creates *two* images)

Login to post a comment