Unparsable structure date - Incorrect value type

Hi everyone, my homepage is not appearing on google, with the console warning of “Unparsable structure date - Incorrect value type” specifically:

“logo”: Liquid error (sections/header.liquid line 732): Width must be between 1 and 5760,

(with a red highlight from the i in liquid until the end if that matters)

See the attached image for what the code is currently looking like.

This issue only appears when inspecting the homepage, no other pages. I have altered my code to reflect the accepted solution in the link below, but the error remains.

https://community.shopify.com/topic/1704615

How do I go about resolving this issue? Thanks in advance, everyone!

The “Unparsable structure date - Incorrect value type” error message is indicating that there is an issue with the width value of the logo in the header.liquid file on line 732.

Here are some steps to help resolve this issue:

  1. Check the width value: Make sure that the width value of the logo is within the acceptable range of 1-5760. If it is not, adjust the value to a number within this range.

  2. Check the code: Ensure that the code on line 732 is properly formatted and contains no syntax errors. If there is an issue with the code, correct it.

  3. Check for compatibility: Make sure that the theme and any installed apps are compatible with each other and with the Shopify platform. If there are compatibility issues, you may need to remove or update the app or theme.

  4. Clear cache: Clear your website’s cache to ensure that any changes made are properly reflected on the site.

Hi @cal3 ,

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
You can replace line code (732) by below code:

{% assign image_size = section.settings.logo_width | append:'x' %}
"logo": {{ section.settings.logo | img_url: image_size | prepend: "https:" | json }},

I hope it would help you