If your e-commerce website ever stops working normally, your browser console is the first place you should look to diagnose the issue(s). In most popular browsers, the console is quite easy to find. But if you’ve never braved your browser’s developer tools, then finding and fixing website errors may seem a bit elusive to you.
Step 1: Open the Console either as its own panel or as a drawer next to another panel
You have two options for opening the Console panel:
- Windows / Linux – Press Ctrl+Shift+J .
- Mac – Press Cmd+Opt+J.
You also have two options for opening the Console as a drawer next to another panel:
- Press Esc while viewing DevTools.
- Click the button for Customize and control DevTools and then press Show console.
Step 2: You’ll now see the data displayed in the console.
Staying within the browser tab you used to open the Console, navigate to the page you want to check for errors. If you’re already on that page, reload it so you can read the Console’s output.
1. Uncaught TypeError: Cannot read property.
This error occurs in Chrome when a method is called, or a property is read for an undefined object.
2. TypeError: ‘undefined’ is not an object (evaluating).
This error arises in Safari when a method is called, or a property is read for an undefined object.
3. TypeError: null is not an object (evaluating).
This is another Safari error that occurs when a method is called, or a property read for a null object.
4. (unknown): Script error.
5. TypeError: Object doesn’t support property.
This is an Internet Explorer error that arises when an undefined method is called.
6. TypeError: ‘undefined’ is not a function.
This error is triggered in Chrome when an undefined function is called.
7. Uncaught RangeError: Maximum call stack.
This is another Chrome error that can be triggered by a number of scenarios.
8. TypeError: Cannot read property ‘length’.
This Chrome error is triggered when by the reading length property of an undefined variable.
9. Uncaught TypeError: Cannot set property.
This error occurs when a script tries to access an undefined variable. Without fail, it will return as “undefined” because it’s not possible to set or get the property of an undefined variable.
10. ReferenceError: event is not defined.
Plus, an e-commerce site that is not maintained well can lose search engine rankings due to the decline in user experience. If you don’t already have someone maintaining your e-commerce site on a regular basis, then you’ll want to either hire someone to do it or learn how to maintain the technical aspects of your website yourself.
Author Bio:Benjamin Shepardson is the founder of NoStop, a Key West-based content agency specializing in delivering personalized experiences.