Title: error
Last modified: August 31, 2020

---

# error

 *  [Tee](https://wordpress.org/support/users/teenow/)
 * (@teenow)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-1406/)
 * I am getting the following errors and I don’t know how to fix them
 * The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid
   value wp-includes/css/dist/block-library/style.min.css?ver=5.5′.
    line 37, column
   0
 * The mandatory attribute ‘amp-custom’ is missing in tag ‘style amp-custom’.
    line
   38, column 0
 * The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid
   value ‘wp-includes/css/dist/block-library/theme.min.css?ver=5.5’.
    line 41, column
   0
 * The mandatory attribute ‘amp-custom’ is missing in tag ‘style amp-custom’.
    line
   42, column 1
 * The mandatory attribute ‘amp-custom’ is missing in tag ‘style amp-custom’.
    line
   546, column 1
 * The tag ‘img’ may only appear as a descendant of tag ‘noscript’. Did you mean‘
   amp-img’?
    line 578, column 3
 * The tag ‘audio’ may only appear as a descendant of tag ‘noscript’. Did you mean‘
   amp-audio’?
    line 581, column 0
 * The parent tag of tag ‘style amp-custom’ is ‘a’, but it can only be ‘head’.
    
   line 583, column 282
 * The tag ‘amp-analytics’ requires including the ‘amp-analytics’ extension JavaScript.
   
   line 608, column 1
 * The tag ‘amp-analytics extension .json script’ requires including the ‘amp-analytics’
   extension JavaScript.
    line 608, column 57
 * The mandatory tag ‘noscript enclosure for boilerplate’ is missing or incorrect.
   
   line 610, column 7
 * The mandatory tag ‘head > style[amp-boilerplate]’ is missing or incorrect.
    line
   610, column 7
 * The mandatory tag ‘noscript > style[amp-boilerplate]’ is missing or incorrect.
   
   line 610, column 7
 * The mandatory tag ‘amphtml engine v0.js script’ is missing or incorrect.
    line
   610, column 7

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

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-1406/#post-13336377)
 * Please [open a support topic](https://wordpress.org/support/plugin/amp/#new-topic-0)
   and provide the URL for an AMP page on your site that has this problem.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-1406/#post-13336475)
 * Your support topic seems to have been deleted for some reason.
 * In any case, it appears you have a plugin conflict. I’ve seen similar behavior
   with the Cache Enabler plugin in the past.
 *  Thread Starter [Tee](https://wordpress.org/support/users/teenow/)
 * (@teenow)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-1406/#post-13336484)
 * what do you suggest i do? I have deactivated all my plugins and left only amp
   but the issue is still there.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-1406/#post-13336493)
 * Please check your PHP error log.
 * You can make sure the error log is enabled by adding this to your `wp-config.
   php`:
 * `define( 'WP_DEBUG_LOG', true );`
 * For more, see [https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log](https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log)
 *  Thread Starter [Tee](https://wordpress.org/support/users/teenow/)
 * (@teenow)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-1406/#post-13336564)
 * it didn’t work
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-1406/#post-13336793)
 * I’m not sure then. Either there is a fatal PHP error which is preventing the 
   AMP page from being processed, or you have some caching layer that is serving
   a non-processed AMP page. You can submit your Site Health info via a [private form](https://docs.google.com/forms/d/e/1FAIpQLSfHk32DRaYLgYO3MMg002_wYKqeWJAvHvj-EoSFWOFyDH6ncw/viewform?usp=sf_link).
 *  Thread Starter [Tee](https://wordpress.org/support/users/teenow/)
 * (@teenow)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-1406/#post-13439060)
 * I have another issue and I will like to hear your input.. amp ads are showing
   on my desktop amp pages but not showing on my amp mobile pages what do you think
   could cause that?
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-1406/#post-13439579)
 * [@teenow](https://wordpress.org/support/users/teenow/) While it may be more of
   a question for the AdSense product experts using the Help Center I can inspect
   your current setup if you’d like to open a support topic while sharing your Site
   Health info using [this form](https://docs.google.com/forms/d/e/1FAIpQLSfHk32DRaYLgYO3MMg002_wYKqeWJAvHvj-EoSFWOFyDH6ncw/viewform?usp=sf_link).
 *  Thread Starter [Tee](https://wordpress.org/support/users/teenow/)
 * (@teenow)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-1406/#post-13446638)
 * [@jamesosborne](https://wordpress.org/support/users/jamesosborne/) I submitted
   it yesterday don’t know if you saw it
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-1406/#post-13448639)
 * [@teenow](https://wordpress.org/support/users/teenow/) I’ve checked your site
   now and I can confirm the Auto ads for AMP code is placed on your site. If you’ve
   recently just added the snippets it may just be a matter of waiting a couple 
   of days. As there can be a number of reasons why ads are not appearing in your
   AMP URLs the [AdSense Help Center](https://support.google.com/adsense/?hl=en#topic=3373519)
   should be able to assist.
 * Note also that as you’re using AMP in legacy reader mode your page content isn’t
   as substantial, with no sidebars or other widget positions. The AdSense logic
   may not find any suitable placements for Auto ads in your AMP URLs, in particular
   for URLs that have very little content. Most URLs I’ve checked have a couple 
   few sentences of content. You may have better luck using one of the available
   core WordPress reader mode themes.
 *  Thread Starter [Tee](https://wordpress.org/support/users/teenow/)
 * (@teenow)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-1406/#post-13459879)
 * I will just like to ask this. Is there going to be a time when reader mode can
   activate category pages for amp or we will have to pick other options for amp
   to show on category pages??
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-1406/#post-13460038)
 * You can already use Reader mode with category pages now as long as you select
   a Reader theme other than “AMP Legacy”.

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

The topic ‘error’ 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/)

 * 12 replies
 * 3 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/error-1406/#post-13460038)