Title: JS Error
Last modified: March 20, 2020

---

# JS Error

 *  Resolved [stevemarsicano](https://wordpress.org/support/users/stevemarsicano/)
 * (@stevemarsicano)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/js-error-98/)
 * 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](https://wordpress.org/support/users/chrisdavidmiles/)
 * (@chrisdavidmiles)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/js-error-98/#post-12567548)
 * Can you send me the URL of the page that’s using the shortcode?
 *  Plugin Author [Chris David Miles](https://wordpress.org/support/users/chrisdavidmiles/)
 * (@chrisdavidmiles)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/js-error-98/#post-12589783)
 * 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.

 * ![](https://ps.w.org/dinosaur-game/assets/icon.svg?rev=2030297)
 * [Dinosaur Game](https://wordpress.org/plugins/dinosaur-game/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dinosaur-game/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dinosaur-game/)
 * [Active Topics](https://wordpress.org/support/plugin/dinosaur-game/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dinosaur-game/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dinosaur-game/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Chris David Miles](https://wordpress.org/support/users/chrisdavidmiles/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/js-error-98/#post-12589783)
 * Status: resolved