All things Shopify and commerce
Hello,
I'm experiencing an issue where my home page shows a 404 error instead of loading correctly, both in the customize view and the live view.
Here's what I've done:
Can anyone suggest how to resolve this?
I found the following log in the console:
main.js:907 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') at StoreHeader.bindEvents (main.js:907:23) at new StoreHeader (main.js:892:10) at main.js:1086:16
And in the network log, loading my page returns a 404 code.
Here is the link to my page: https://tshirt-van.myshopify.com/
I would really appreciate any help. Thanks!
Solved! Go to the solution
This is an accepted solution.
@huongpho
please check your theme on my demo store
link: https://a-stack-demo.myshopify.com/
preview pass: shopifydev44
@huongpho if you feel it fixed so please mark my reply as solved, thanks.
This is an accepted solution.
I managed to resolve the issue and wanted to share my experience for anyone facing the same problem:
To fix this, I manually added the missing video clip, created a new index.json file, copied the content over, and now everything is working.
Thanks for your help!
@huongpho Can you pleas share theme files to review issue.
thank @ProtoMan44 for replying, but I could not upload .zip and .7z as well.
I uploaded to my drive and share with you https://drive.google.com/file/d/1JMhhhVHP30blJwBvnA3SGcB0sI5Nb5vE/view?usp=sharing
Thanks
let me check the theme @huongpho
hey, @huongpho I have checked your theme.
Your theme has missed the index.json file in your theme therefor it makes 404 page on the home.
This is an accepted solution.
@huongpho
please check your theme on my demo store
link: https://a-stack-demo.myshopify.com/
preview pass: shopifydev44
@huongpho if you feel it fixed so please mark my reply as solved, thanks.
This is an accepted solution.
I managed to resolve the issue and wanted to share my experience for anyone facing the same problem:
To fix this, I manually added the missing video clip, created a new index.json file, copied the content over, and now everything is working.
Thanks for your help!
@huongpho Welcome 🤗
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025