Announcement

Collapse
No announcement yet.

Uncaught TypeError: Cannot read property 'getAttribute' of null

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Uncaught TypeError: Cannot read property 'getAttribute' of null

    Add to cart on prod page is generating this error and not acting correctly at all. https://dev3.sidecut.com/product/VICE.html

    ajax-add-to-cart.js:54 Uncaught TypeError: Cannot read property 'getAttribute' of null
    at XMLHttpRequest.request.onreadystatechange (ajax-add-to-cart.js:54)

  • It looks like that site is behind server security. I would recommend contacting either Support or Professional Services so they can check the code.
    Matt Zimmermann
    Director of UI/UX Standards and Theme Development
    / Miva, Inc.

    Comment


    • ‘Undefined’ is the property of the global object. This error occurs in Chrome Browser when you read a property or call a method on an undefined object . Uncaught TypeError: Cannot read property of undefined error is probably easiest to understand from the perspective of undefined, since undefined is not considered an object type at all (but its own undefined type instead), and properties can only belong to objects within JavaScript. There are a few variations of this error depending on the property you are trying to access. Sometimes instead of undefined it will say null. If you get undefined error, you need to make sure that which ever variables throws undefined error, is assigned a value to it.

      Comment

      Working...
      X

      This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

      This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

      Accept