• Resolved stevemarsicano

    (@stevemarsicano)


    I added the shortcode but it isnt loading, and getting this error in console:

    Uncaught TypeError: Cannot read property ‘getBoundingClientRect’ of null
    at HTMLDocument.startupDinosaurGame (game-logic.min.js?ver=1.0.5:11)

    On the page where the game should be it’s showing “The dinosaur game can only be used once per page.” – I’ve only added the shortcode once, and nothing else is on the page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chris David Miles

    (@chrisdavidmiles)

    Can you send me the URL of the page that’s using the shortcode?

    Plugin Author Chris David Miles

    (@chrisdavidmiles)

    Without seeing the error for troubleshooting it’s difficult to see what’s wrong. But you might try disabling other plugins you’re using on the site as a test, especially any that change the way scripts work like a JavaScript minification plugin.

    I’m closing this ticket for now, but please reply if you still need help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS Error’ is closed to new replies.