Questions and discussions about using the Shopify CLI and Shopify-built libraries.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I'm running "shopify theme check" in terminal and receiving an error that states "[error]: LiquidHTMLSyntaxError│
│ Attempting to close HtmlElement 'div' before it was opened". I have verified that all tags are closed properly. There are several if statments that generate opening <div> tags. Has anyone run into this issue before?
Double check. Triple check. Quadruple check. Then have AI check... But you probably missing a closing div somewhere.
That was my first thought too. So I've checked 10 times and see no issue with the code. Asked AI and it confirmed there was no missing div tag