[BUG] Error in event handler: TypeError: Cannot read property 'l' of null
See original GitHub issueDescribe the bug
No dark theme on some websites
Steps to reproduce
- visit a website
Expected behavior
Dark theme
Actual behavior
There is no dark theme, Dark Reader generates an error when trying to make a dark theme.
Error in event handler: TypeError: Cannot read property 'l' of null
at modifyBgHSL (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:1309:60)
at modifyColorWithCache (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:1244:26)
at modifyBackgroundColor (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:1332:16)
at getModifiedFallbackStyle (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:1939:38)
at createStaticStyleOverrides (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:3569:37)
at createThemeAndWatchForUpdates (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:3794:9)
at createOrUpdateDynamicTheme (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:3902:13)
at onMessage (chrome-extension://eimadpbcbfnmbkopoojfekhnkhdbieeh/inject/index.js:3981:17)
The error is here:
So far it’s occurred on YouTube (old theme) and GitHub (this page)
Screenshots
System Information:
- OS: macOS Mojave 10.14.6
- Browser: Chrome 83.0.4103.97 (Official Build) (64-bit)
- Dark Reader version: 4.9.11
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (11 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property of null - iDiallo
This error occurs when you read a property or call a method on a null object . That's because the DOM API returns...
Read more >Uncaught TypeError: Cannot read property 'value' of null
It has no problem when I execute this codes, but when I'm on other part of my codes this error occurs. Uncaught TypeError:...
Read more >Uncaught TypeError cannot read property 'addeventlistener' of ...
In JavaScript, a very common error is the Uncaught TypeError Cannot read property 'addeventlistener' of null. This error occurs when JavaScript is not...
Read more >How to Read React Errors (fix 'Cannot read property of ...
Cannot read property means the code was trying to read a property. This is a good clue! There are only a few ways...
Read more >Uncaught TypeError: Cannot read property of undefined In
This error occurs in Chrome Browser when you read a property or call a method on an undefined object . There are a...
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 FreeTop 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
Top GitHub Comments
Their you go! Now you should wait on google to review it and push the update to users. Thank you for reporting this quite criticial issue!
Okay man, I’m sorry for whatever I did. I just hope this fix gets released ASAP.