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

Navigating from Main page to Template causes error #78

Open
JoshuaSkootsky opened this issue Mar 31, 2020 · 3 comments
Open

Navigating from Main page to Template causes error #78

JoshuaSkootsky opened this issue Mar 31, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@JoshuaSkootsky
Copy link
Member

Error is caused by appendChild on null node.

@JoshuaSkootsky JoshuaSkootsky added the bug Something isn't working label Mar 31, 2020
@JoshuaSkootsky
Copy link
Member Author

You click on Blog, and are redirected to https://instastack.herokuapp.com/blogtemplate, get a white screen, and in console this error comes up:

bundle.js:42384 TypeError: Cannot read property 'appendChild' of null
    at bundle.js:64962
    at Array.map (<anonymous>)
    at t.value (bundle.js:64950)
    at GA (bundle.js:42402)
    at JA (bundle.js:42406)
    at bundle.js:42436
    at Object.t.unstable_runWithPriority (bundle.js:42492)
    at Qa (bundle.js:42436)
    at ma (bundle.js:42435)
    at ba (bundle.js:42434)
gA @ bundle.js:42384
bundle.js:42434 Uncaught TypeError: Cannot read property 'appendChild' of null
    at bundle.js:64962
    at Array.map (<anonymous>)
    at t.value (bundle.js:64950)
    at GA (bundle.js:42402)
    at JA (bundle.js:42406)
    at bundle.js:42436
    at Object.t.unstable_runWithPriority (bundle.js:42492)
    at Qa (bundle.js:42436)
    at ma (bundle.js:42435)
    at ba (bundle.js:42434)

@JoshuaSkootsky
Copy link
Member Author

I think this is related to:

let container = grid.querySelector(`#\\3${i}`);
    container.appendChild(node);
5:59

line 114 in BlogTemplatePreview.js Component

@JoshuaSkootsky
Copy link
Member Author

https://instastack.herokuapp.com/template still broken

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

1 participant