Uncaught ReferenceError: dhx is not defined

Hi I’m using the calendar API, I did a test in a personal project and works fine, now I’m trying in a different one and I’m having this error Uncaught ReferenceError: dhx is not defined, any solution for this?

Unfortunately the problem cannot be reproduced locally.
Could you please, provide a complete demo or share a demo link, where the problem can be reconstructed.

1 Like

apparently having the calendar.js reference in the footer is what causes this error, once I put it into the header the error disappears and the API worked fine.