Title: Structured data with syntax errors due to AMP?
Last modified: December 5, 2021

---

# Structured data with syntax errors due to AMP?

 *  [mf01](https://wordpress.org/support/users/mf01/)
 * (@mf01)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/structured-data-with-syntax-errors-due-to-amp/)
 * Can someone help?
 * I use WordPress Enfold theme, and am trying to use AMP because Google Search 
   Console doesn’t like it when I don’t have it. However, AMP seems to be causing
   issues. Previously I was using AMP plug-in ([https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/))
   but pretty much all of my pages started getting “Structured data with syntax 
   error” from GSC. “Invalid top level element boolean.” To errors were:
 * Error: Attribute amp not allowed on element html at this point.
    From line 1,
   column 16; to line 1, column 678 TYPE html><html lang=”en-US” class=”html_stretched
   responsive av-preloader-disabled html_header_top html_logo…-menu-switch-default”
   amp=”” transformed=”self;v=1″ i-amphtml-layout=”” i-amphtml-no-boilerplate=””
   ><head>
 * Error: Attribute transformed not allowed on element html at this point.
    From
   line 1, column 16; to line 1, column 678 TYPE html><html lang=”en-US” class=”
   html_stretched responsive av-preloader-disabled html_header_top html_logo…-menu-
   switch-default” amp=”” transformed=”self;v=1″ i-amphtml-layout=”” i-amphtml-no-
   boilerplate=””><head>
 * ******
 * And for quite sometime, Avia Layout Builder full slider wasn’t working, so I 
   thought there was some compatibility issue. I am not savvy enough to know if 
   av-preloader is about Avia builder, and if it’s causing problems.
 * Anyway so I added AMP for WP and AMP Pagebuilder Compatibility together and disabled
   AMP. It looks like GCS errors are gone, but then, some of the pages are no longer
   showing images correctly. (All of my images are “load when the page is opened”)
   Full slider at the very top of the page is still not showing.
    [https://www.interactiongreen.com/muji-house-announces-yo-no-ie-sun-house/](https://www.interactiongreen.com/muji-house-announces-yo-no-ie-sun-house/)
 * I would like to stick to your plug-in for now, so please let me know how I can
   show the images and sliders correctly. Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstructured-data-with-syntax-errors-due-to-amp%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Pierre236](https://wordpress.org/support/users/pierreto/)
 * (@pierreto)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/structured-data-with-syntax-errors-due-to-amp/#post-15134339)
 * I have also many error in search console.
 * I went back to the old version and Google search console tells me that the problems
   are solved
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/structured-data-with-syntax-errors-due-to-amp/#post-15138124)
 * Can you please let me know, how you want to show the images and what is your 
   expected output? So that we will let you know accordingly to resolve your issue.
 *  Thread Starter [mf01](https://wordpress.org/support/users/mf01/)
 * (@mf01)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/structured-data-with-syntax-errors-due-to-amp/#post-15141954)
 * When accessed from desktop, full slider at the top is not displayed, and you 
   cannot see images unless you click them. With mobile, full slider is now displaying,
   but the images are super small. I just wanted them to display when you load the
   page. “Expected output” is just display like normal.
 * And I have more serious issue…I get error message from Google Search Console:
   Structured data with syntax errors detected>invalid top element boolean. When
   I check details it looks like amp-auto-lightbox is causing a problem. This may
   be a lingering issue from AMP plug-in I was using before I switched to yours.
 * Also, I get redirect error from Google. Then lastly, I disabled cloudflare because
   your plug-in says it cannot be used along with it. Is that true?
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/structured-data-with-syntax-errors-due-to-amp/#post-15150073)
 * Can you please share a small video of the issue once? So that we will go through
   it and get back to you shortly.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Structured data with syntax errors due to AMP?’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/structured-data-with-syntax-errors-due-to-amp/#post-15150073)
 * Status: not resolved