• Resolved jasonmac_75

    (@jasonmac_75)


    Google console shows errors in the script schema text:

    Parsing error: Missing ‘}’ or object member name:

    CODE SECTION IN CONSOLE

    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "FAQPage",
        "mainEntity": [{
            &quot;@type&quot;: &quot;Question&quot;,

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thanks for reaching out. From inspecting your site this same error appears on your non AMP URLs.

    While the issue isn’t specific to the AMP plugin does the same issue occur with your SG Optimizer plugin temporarily deactivated? From reviewing your non AMP URLs your FAQs feature may be the source.

    Thread Starter jasonmac_75

    (@jasonmac_75)

    Thanks for the reply, I just deactivated the SG cache but unfortunately google console keeps throwing a ‘something went wrong error’ was showing this yesterday when I fixed a google ads resizing error.

    Thanks for the update. What are you using to create your FAQs section? Please check whether this structured data error should no longer occur if it’s temporarily removed, from both your AMP and non AMP URLs.

    I’m happy to check this also once you share the plugin used. There may be a conflict with SG Optimizer but as it appears on your non AMP URLs also it’s not AMP or AMP plugin related.

    Thread Starter jasonmac_75

    (@jasonmac_75)

    Yes there is an accordian js file in these pages, which gives option to hide the schema tags, will try and re-sumbit this and get back .

    Excellent, nice find! Let me know anyway and I can check your site once more.

    Thread Starter jasonmac_75

    (@jasonmac_75)

    Also pasted the code into my editor and it shows the page code by sg optimiser has <meta name=’robots’ and lots of other attributes must be in double quotes as google optimises them for double quotes only, odd it should be the same for all pages or posts mmm

    If you want to share the code you input I’d be happy to take a look.

    Thread Starter jasonmac_75

    (@jasonmac_75)

    Got rid of the errors other schema was yoast seo plugin, ran latest updates ??

    Thread Starter jasonmac_75

    (@jasonmac_75)

    It was this block of schema in the accordian plugin:

    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "FAQPage",
        "mainEntity": [{
            &quot;@type&quot;: &quot;Question&quot;,
            &quot;name&quot;: &quot;Quick links to all MOT checks (drop down menu)&quot;,
            &quot;acceptedAnswer&quot;:{
                &quot;@type&quot;: &quot;Answer&quot;,
                &quot;text&quot;: &quot;(0) MOT Test of registration plates and vehicle identification number (VIN)
    (1) MOT Test of brakes
    (2) MOT Test of steering
    (3) MOT Test of  windscreen (visibility):
    
     	mirrors
     	bonnet catch
    
    (4) MOT Test of lights and headlamps (including reflectors, switches and trailer socket)
    
    (5) MOT Test of tyres and roadwheels
    
     	axles and suspension 
    
    (6) MOT Test of vehicle structure and body
    
     	seats
     	tow bar (coupling mechanisms and towing equipment)
     	fuel system
     	doors (incl floors)
    
    (7) MOT Test of other equipment – incl. seat belts and supplementary restraint systems, airbags)
    
     	horn (audible warning)
     	speedometer
     	anti-theft device
     	electronic stability control
    
    (8) MOT Test of exhaust and emissions (including noise and fluid leaks)
    
    MOT Test of instrument panel warnings and indicators (grouped here for convenience from above sections)&quot;
                }
            }]
    }
    </script>

    Nice troubleshooting! I’ve checked your site and indeed no schema errors exist now.

    You may also be interested to use a different AMP theme while in reader mode. That way you can have your homepage and other category pages AMP. You can even add from your favourite AMP compatible themes. We have a recently produced video below on reader mode:

    If you have any queries using AMP going forward be sure to get in touch. And if you have a moment free we’d love to hear how you’re finding the AMP plugin so far.

    Thread Starter jasonmac_75

    (@jasonmac_75)

    That’s great!! thanks for all your help will have a look through and will add this to some of my sites ??

    Great! Be sure to let us know if you run into any trouble. And if you have a moment free be sure to share your thoughts on the plugin so far.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Amp page error on google console’ is closed to new replies.