Support » Plugin: Accordion » Google reports: Parsing error: Missing ‘}’

  • Google Search Console is reporting error: Parsing error: Missing ‘}’ or object member name.

    We deactivate Accordions and the problem goes away.

    Version 2.2.32

Viewing 6 replies - 1 through 6 (of 6 total)
  • jasonmittonagencyagile


    I just experienced this issue as well updated Accordions to Version 2.2.32 on 4/25.

    Getting this problem across multiple sites as well. It looks like the structure is printing incorrectly…

    Currently printing:
    <script>jQuery(document).ready(function($){accordions_active_index_3224=[0]})</script><script type="application/ld+json">{"@context":"","@type":"FAQPage","mainEntity":[{&quot;@type&quot;:&quot;Question&quot;,&quot;name&quot;:&quot;Question&quot;,&quot;acceptedAnswer&quot;:{&quot;@type&quot;:&quot;Answer&quot;,&quot;text&quot;:&quot;Answer.&quot}},]}</script> <script>

    What this should look like:
    <script>jQuery(document).ready(function($){accordions_active_index_3224=[0]})</script><script type="application/ld+json">{"@context":"","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Question","acceptedAnswer":{"@type":"Answer","text":"Answer."}},]}</script> <script>

    Thread Starter ronr1999


    Still getting same error with 2.2.32. Seems like it’s only on the first accordion.

    Thread Starter ronr1999


    In Edit Accordion > Settings > General > Enable Schema … set this to NO and it’s fixed.

    Not sure what “Schema” refers to… anyone?


    It’s data (sometimes inline) that allows Google to better categorize information. So, for example, the accordion would be an FAQ, and the title would be a Question, and the content would be an Answer. This is what feeds Google’s rich snippets on the search engine results page.

    In my case I want Schema enabled, so I’d rather this be fixed than disable it.

    • This reply was modified 2 years, 6 months ago by the9mm.
    Thread Starter ronr1999


    Ah, thanks for the explanation!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Google reports: Parsing error: Missing ‘}’’ is closed to new replies.