Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 'Cannot read properties of null (reading 'setAttribute')' error in the console #676

Closed
Tanddant opened this issue Oct 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Tanddant
Copy link

Issue description

I'm getting a JavaScript error on my page, seemingly related to setting the theme color

Browser tried to call "e.setThemeColor", but e appears to be null

Theme version

v2.7.0

Hugo version

hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended windows/amd64

Which browser rendering engines are you seeing the problem on?

Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.)

URL to sample repository or website

https://blog.dan-toft.dk

Hugo output or build error messages

No response

@Tanddant Tanddant added the bug Something isn't working label Oct 23, 2023
@jpanther
Copy link
Owner

Thanks for the report, @Tanddant. I'm able to reproduce this and I'll get a fix out shortly.

@jpanther jpanther added the wip Work in progress label Oct 23, 2023
@github-actions github-actions bot removed the wip Work in progress label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants