Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelectorAll')
See original GitHub issuerefined-hacker-news.js:2756 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelectorAll')
at getGroupedStories (refined-hacker-news.js:2756:32)
at requestVisitedStories (refined-hacker-news.js:2909:21)
at hide_read_stories_init (refined-hacker-news.js:2960:5)
at refined-hacker-news.js:3026:17
at new Promise (<anonymous>)
at Object.add (refined-hacker-news.js:3022:12)
at initialiseAll (refined-hacker-news.js:5131:24)
Issue Analytics
- State:
- Created 10 months ago
- Reactions:3
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Cannot read property 'querySelector' of null - Stack Overflow
I am using Cordova app in Visual Studio 2015. I have added a simple button which changes the color of background of app...
Read more >Cannot read property 'querySelector' of Null in JavaScript
To solve the "Cannot read property 'querySelectorAll' of null" error, make sure the id you're using to get the element exists in the...
Read more >Cannot read property 'querySelectorAll' of null - Laracasts
Uncaught TypeError : Cannot read property 'querySelectorAll' of null. Hi there, I am getting an error in my jQuery code and I don't...
Read more >Uncaught type error: cannot read property 'queryselector' of null
Solution would be validating for null values before accessing the functions in it. but you will only have to trace the code to...
Read more >Cannot read property 'querySelector' of null -- No idea why
What this is telling you is that there is no 'querySelector' method on a null object. The object that it is trying to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It looks like
table.itemlist
is no longer an appropriate selector to get the<table>
holding the stories. There doesn’t appear to be any unique identifier on that table at all, any more. I’ve been testing out#hnmain table:has(.athing)
as the selector instead.The way this extension is coded, it breaks everything.