Title: Error in structured data V 1.5.1
Last modified: April 1, 2020

---

# Error in structured data V 1.5.1

 *  Resolved [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/)
 * (@satheeshrajv)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/)
 * After updating the plugin to Version 1.5.1, I’m getting “Error in required structured
   data” warning.
    -  This topic was modified 6 years, 2 months ago by [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-in-structured-data-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/error-in-structured-data-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-in-structured-data-4/page/2/?output_format=md)

 *  [Mohsin](https://wordpress.org/support/users/mohsin786/)
 * (@mohsin786)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12612189)
 * Yes, I am facing the same after updating the AMP Plugin just now. It is a bug
   from developer end.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12612956)
 * [@satheeshrajv](https://wordpress.org/support/users/satheeshrajv/) The AMP plugin
   does not add the HTML5 microdata attributes which you have in your site. They
   may be getting added by Yoast. You may need to connect with Yoast support: [https://yoast.com/help/support/](https://yoast.com/help/support/)
 *  Thread Starter [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/)
 * (@satheeshrajv)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12612978)
 * But this issue is happening only after updating the amp plugin. Issue is getting
   resolved if I revert back to old version.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12613333)
 * Humm, ok. Can you please try 1.5.1 with the Optimizer disabled? You can disable
   the Optimizer by installing and activating this plugin: [https://gist.github.com/westonruter/8d52c0b807e6dfbbdf2219622d0f4a7e](https://gist.github.com/westonruter/8d52c0b807e6dfbbdf2219622d0f4a7e)
 * If that fixes the problem, then it will narrow down the problem to being a bug
   in the Optimizer.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12613496)
 * I’ve captured the HTML output of that page with the Optimizer enabled: [https://gist.github.com/westonruter/ed5ded1dbafc1d87f6960780dd16b0eb](https://gist.github.com/westonruter/ed5ded1dbafc1d87f6960780dd16b0eb)
 * Please disable the Optimizer via the above plugin and then I’ll capture the output
   of the page to compare in order to determine if there is a bug in the Optimizer.
 *  Thread Starter [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/)
 * (@satheeshrajv)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12613731)
 * I have installed the Optimizer disabled plugin. But still the issue is there.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12613788)
 * OK, thank you. I’ve captured the unoptimized and optimized output from v1.5.1:
   [https://gist.github.com/westonruter/ed5ded1dbafc1d87f6960780dd16b0eb](https://gist.github.com/westonruter/ed5ded1dbafc1d87f6960780dd16b0eb)
 * Please roll-back to v1.4.4 and let me know when so I can grab the output so we
   can compare with the old version as well.
 *  [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * (@reneesoffice)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12614070)
 * [@satheeshrajv](https://wordpress.org/support/users/satheeshrajv/) Additionally,
   are you using the Newspaper theme’s [AMP mobile theme](https://tagdiv.com/amp-newspaper-theme/)
   for your site? I am able to replicate the same errors when using their mobile
   theme and version 1.5.1, but the errors go away with a default theme and/or the
   previous version 1.4.4 of the plugin. For testing, I’m using the [Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool).
 *  Thread Starter [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/)
 * (@satheeshrajv)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12614091)
 * When I rollback to 1.4.4 error gone.
 *  Thread Starter [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/)
 * (@satheeshrajv)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12614095)
 * [@reneesoffice](https://wordpress.org/support/users/reneesoffice/) Yes I’m using
   Newspaper mobile theme. But that theme to work I need to install amp plugin. 
   Yes the error goes away after the rollback of plugin to 1.4.4
    -  This reply was modified 6 years, 2 months ago by [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12614115)
 * Thanks very much. I’ve captured the output from 1.4.4 and added it to: [https://gist.github.com/westonruter/ed5ded1dbafc1d87f6960780dd16b0eb](https://gist.github.com/westonruter/ed5ded1dbafc1d87f6960780dd16b0eb)
 * By comparing 1.4.4 and 1.5.1 I have identified the cause of the problem: the 
   new `meta` sanitizer is 1.5.x is moving all `meta` tags to the `head` and this
   is breaking the Schema.org meta.
 * We’ll fix this promptly and give you a build to test.
 *  Thread Starter [satheeshrajv](https://wordpress.org/support/users/satheeshrajv/)
 * (@satheeshrajv)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12614144)
 * Thanks for the quick response. One more doubt. Last time I got some Json error
   and You asked me to install “AMP JSON Validation Error Workaround” plugin. Do
   I still need this plugin or can I uninstall it?
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12614145)
 * That is no longer necessary, no.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12614204)
 * I’ve filed an issue for this bug: [https://github.com/ampproject/amp-wp/issues/4502](https://github.com/ampproject/amp-wp/issues/4502)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/#post-12618399)
 * We have just merged the fix for this, and there is a plugin build available for
   testing if you can: [https://github.com/ampproject/amp-wp/pull/4505#issuecomment-607924311](https://github.com/ampproject/amp-wp/pull/4505#issuecomment-607924311)
 * The 1.5.2 release should be published on WordPress.org later today, but if you
   can test sooner that would add confidence.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/error-in-structured-data-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-in-structured-data-4/page/2/?output_format=md)

The topic ‘Error in structured data V 1.5.1’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 17 replies
 * 4 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-structured-data-4/page/2/#post-12624981)
 * Status: resolved