I’m debugging an issue with my app theme extension where the app block displays just fine in the theme editor but not in the storefront. In the storefront there are no “Failed to render app block” messages or anything similar. The container div from Shopify for rendering the app block isn’t displaying on the storefront either.
I added some debug statements before any of the code of the app block and these aren’t displaying either, which suggests the block isn’t even being processed somehow. What’s crazier is that on the same theme on a staging store for this merchant, the app block displays correctly on the storefront.
I have already checked closing html and body tags.
Has anyone run into anything similar before? Any suggestions for troubleshooting this kind of discrepancy between environments?