The mandatory attribute ‘amp-custom’ is missing in tag ‘style amp-custom’.
Custom JavaScript is not allowed.
The attribute ‘src’ in tag ‘img’ is set to the invalid value ‘data:image/svg+xml,%3Csvg%20xmlns=’https://www.w3.org/2000/svg’%20viewBox=’0%200%201%201’%3E%3C/svg%3E’.
The attribute ‘class’ in tag ‘img’ is set to the invalid value ‘i-amphtml-intrinsic-sizer lazy’.
The attribute ‘class’ in tag ‘img’ is set to the invalid value ‘i-amphtml-fill-content i-amphtml-replaced-content lazy’.
See ampwp-36d97616-4135-5f42-9ae3-408e5668e411
The only plugin I have installed that could possibly be causing these issues as far as I can tell is W3 Total Cache. But that is not coming up as an issue on the site scan. I tried suppressing it and doing a live test on Google console, and it didn’t resolve the issue.
]]>I’m facing a problem with my website kkhare.com as soon as I have started working on Web Story.
Google console started showing an error under AMP: Custom JavaScript is not allowed.
Web Story URL: www.kkhare.com/web-stories/2022-fifa-world-cup-qatar/
sharing the site health report for your reference
### wp-core ###
version: 6.1
site_language: en
user_language: en
timezone: +00:00
permalink: /%category%/%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 2
dotorg_communication: true
### wp-paths-sizes ###
wordpress_path: /home/kmem9uu05gwa/public_html/kkhare.com
wordpress_size: 304.85 MB (319654792 bytes)
uploads_path: /home/kmem9uu05gwa/public_html/kkhare.com/wp-content/uploads
uploads_size: 3.31 MB (3468559 bytes)
themes_path: /home/kmem9uu05gwa/public_html/kkhare.com/wp-content/themes
themes_size: 11.32 MB (11873925 bytes)
plugins_path: /home/kmem9uu05gwa/public_html/kkhare.com/wp-content/plugins
plugins_size: 20.22 MB (21203881 bytes)
database_size: 113.94 MB (119472331 bytes)
total_size: 453.64 MB (475673488 bytes)
### wp-active-theme ###
name: Newslay (newslay)
version: 1.5
author: Themeansar
author_website: https://themeansar.com
parent_theme: Newsup (newsup)
theme_features: core-block-patterns, editor-style, widgets-block-editor, custom-header, automatic-feed-links, title-tag, align-wide, post-thumbnails, menus, html5, post-formats, custom-background, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, responsive-embeds, custom-logo, widgets
theme_path: /home/kmem9uu05gwa/public_html/kkhare.com/wp-content/themes/newslay
### wp-parent-theme ###
name: Newsup (newsup)
version: 3.0.0.52 (latest version: 3.0.0.54)
author: Themeansar
author_website: https://themeansar.com
theme_path: /home/kmem9uu05gwa/public_html/kkhare.com/wp-content/themes/newsup
### wp-themes-inactive (1) ###
Twenty Twenty-Two: version: 1.3, author: the WordPress team
### wp-mu-plugins (2) ###
Health Check Troubleshooting Mode: author: (undefined), version: 1.8.1
installatron_hide_status_test.php: author: (undefined), version: (undefined)
### wp-plugins-active (7) ###
404 to 301 - Redirect, Log and Notify 404 Errors: version: 3.1.3, author: Joel James
Easy Table of Contents: version: 2.0.37, author: Magazine3
Head, Footer and Post Injections: version: 3.2.5, author: Stefano Lissa
Health Check & Troubleshooting: version: 1.5.1, author: The www.remarpro.com community
Limit Login Attempts Reloaded: version: 2.25.8, author: Limit Login Attempts Reloaded
Rank Math SEO: version: 1.0.102, author: Rank Math
Web Stories: version: 1.27.0, author: Google
### wp-plugins-inactive (4) ###
Ad Inserter: version: 2.7.22, author: Igor Funa
Akismet Anti-Spam: version: 5.0.1, author: Automattic
WordPress Importer: version: 0.8, author: wordpressdotorg
Yoast SEO: version: 19.10, author: Team Yoast
### wp-media ###
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1808
imagemagick_version: ImageMagick 7.1.0-2 Q16 x86_64 2021-06-25 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 32M
upload_max_filesize: 32M
max_effective_size: 32 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 62 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 12288
imagick::RESOURCETYPE_MAP: 62 GB
imagick::RESOURCETYPE_MEMORY: 31 GB
imagick::RESOURCETYPE_THREAD: 1
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCbCr, YCbCrA, YUV
gd_version: 2.2.5
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 8.70
### wp-server ###
server_architecture: Linux 2.6.32-954.3.5.lve1.4.89.el6.x86_64 x86_64
httpd_software: Apache
php_version: 8.1.11 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 60
upload_max_filesize: 32M
php_post_max_size: 32M
curl_version: 7.71.0 OpenSSL/1.1.1p
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
### wp-database ###
extension: mysqli
server_version: 5.6.51-cll-lve
client_version: 5.6.51
max_allowed_packet: 268435456
max_connections: 250
### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/kmem9uu05gwa/public_html/kkhare.com/wp-content
WP_PLUGIN_DIR: /home/kmem9uu05gwa/public_html/kkhare.com/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: utf8
DB_COLLATE: undefined
### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable
### web_stories ###
web_stories_version: 1.27.0
web_stories_db_version: 3.0.14
web_stories_amp_version: 2.3.0
web_stories_cdn_url: https://wp.stories.google/static/19
web_stories_dev_mode: false
web_stories_theme_support: Disabled
web_stories_enabled_experiments:
Story locking take over: Enabled
web_stories_libxml_version: 2.9.7
]]>I’m getting Custom JavaScript is not allowed issue in AMP section.
Screenshot of issue – https://prnt.sc/Vq0oQlFclhcw
But when I run Test live URL its showes Web Story is valid
check screenshot – https://prnt.sc/6v2UfCnGifio
Please check it out issue.
Thank you in advance.
We’ve found that scripts from All In One SEO are being put into AMP pages on our site, where as they never used to be – has this been in a recent update?
https://talisman-corporation.com/media/2021/01/21/gk_engineer/amp/
Search Console says this:
“Custom JavaScript is not allowed.”
Plugin versions:
Accelerated Mobile Pages plugin, Version 1.0.75
All in One SEO, Version 4.0.15
It seems a conflict with All In One Seo has developed from mid December. Nearly all of our AMP pages have a Search Console error “Custom JavaScript is not allowed and are not being indexed. Are there some recommended AMP settings that need changed to eliminate this problem?
Would love to get this resolved asap.
thanks
]]>When inspected URL this is what the console shows-
1) <script>’undefined’=== typeof _trfq || (window._trfq = []);’undefined’=== typeof _trfd && (window._trfd=[]),_trfd.push({‘tccl.baseHost’:’secureserver.net’}),_trfd.push({‘ap’:’cpbh’},{‘server’:’sg3plvcpnl401584′}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support.</script><script src=’https://img1.wsimg.com/tcc/tcc_l.combined.1.0.6.min.js’></script></html>
2) <script src=’https://img1.wsimg.com/tcc/tcc_l.combined.1.0.6.min.js’></script></html>
Any help will be good.
Thanks.
[ redundant link removed ]
<script type="text/javascript">{"values":{"author":"","email":"","url":"","submit":"Post Comment","comment_post_ID":"1634","comment_parent":"0","comment":""},"submitting":false,"replyToName":""}</script></amp-state><p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> Required fields are marked <span class="required">*</span></p><p class="comment-form-comment"><label for="comment">Comment</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required="required" data-amp-bind-disabled="commentform_post_1634.submitting" data-amp-bind-text="commentform_post_1634.values.comment" on='change:AMP.setState( { commentform_post_1634: { values: { "comment": event.value } } } )'></textarea></p><p class="comment-form-author"><label for="author">Name <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" maxlength="245" required="required" data-amp-bind-disabled="commentform_post_1634.submitting" data-amp-bind-value="commentform_post_1634.values.author" on='change:AMP.setState( { commentform_post_1634: { values: { "author": event.value } } } )'></p> <p class="comment-form-email"><label for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="email" value="" size="30" maxlength="100" aria-describedby="email-notes" required="required" data-amp-bind-disabled="commentform_post_1634.submitting" data-amp-bind-value="commentform_post_1634.values.email" on='change:AMP.setState( { commentform_post_1634: { values: { "email": event.value } } } )'></p> <p class="comment-form-url"><label for="url">Website</label> <input id="url" name="url" type="url" value="" size="30" maxlength="200" data-amp-bind-disabled="commentform_post_1634.submitting" data-amp-bind-value="commentform_post_1634.values.url" on='change:AMP.setState( { commentform_post_1634: { values: { "url": event.value } } } )'></p> <p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"> <label for="wp-comment-cookies-consent">Save my name, email, and website in this browser for the next time I comment.</label></p> <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment" data-amp-bind-disabled="commentform_post_1634.submitting" data-amp-bind-value="commentform_post_1634.values.submit" on='change:AMP.setState( { commentform_post_1634: { values: { "submit": event.value } } } )'> <input type="hidden" name="comment_post_ID" value="1634" id="comment_post_ID" data-amp-bind-disabled="commentform_post_1634.submitting" data-amp-bind-value="commentform_post_1634.values.comment_post_ID" on='change:AMP.setState( { commentform_post_1634: { values: { "comment_post_ID": event.value } } } )'> <input type="hidden" name="comment_parent" id="comment_parent" value="0" data-amp-bind-disabled="commentform_post_1634.submitting" data-amp-bind-value="commentform_post_1634.values.comment_parent" on='change:AMP.setState( { commentform_post_1634: { values: { "comment_parent": event.value } } } )'> </p> <div class="amp-wp-default-form-message" submit-error=""><template type="amp-mustache"><p class="{{#redirecting}}amp-wp-form-redirecting{{/redirecting}}">{{#message}}
message{{/message}}{{^message}}Your submission failed. <small>The server responded with {{status_text}} (code {{status_code}}). Please contact the developer of this form processor to improve this message. <a href="https://amp-wp.org/?p=5463" target="_blank" rel="noopener noreferrer">Learn More</a></small>{{/message}}</p></template></div><div class="amp-wp-default-form-message" submit-success=""><template type="amp-mustache"><p class="{{#redirecting}}amp-wp-form-redirecting{{/redirecting}}">{{#message}}
message{{/message}}{{^message}}It appears your submission was successful. <small>Even though the server responded OK, it is possible the submission was not processed. Please contact the developer of this form processor to improve this message. <a href="https://amp-wp.org/?p=5463" target="_blank" rel="noopener noreferrer">Learn More</a></small>{{/message}}</p></template></div><div class="amp-wp-default-form-message" submitting=""><template type="amp-mustache"><p>Submitting…</p></template></div></form> </div> </div> </div> </main> </div> </div> </div> </div> <aside id="sidebar-subsidiary" class="sidebar-subsidiary sidebar" role="complementary" aria-labelledby="sidebar-subsidiary-header" itemscope="itemscope" itemtype="https://schema.org/WPSideBar"> <h2 class="screen-reader-text" id="sidebar-subsidiary-header">Subsidiary Sidebar</h2> <div class="wrap"> <div class="wrap-inside"> <section id="text-2" class="widget widget_text"><h3 class="widget-title">About</h3> <div class="textwidget"><p><strong>Vinland Saga</strong>?(Japanese: ヴィンランド?サガ Hepburn: Vinrando Saga) is a Japanese historical manga series written and drawn by manga author Makoto Yukimura. The series is published by Kodansha, and was first serialized in the youth-targeted Weekly Shōnen Magazine before moving to the monthly manga magazine Afternoon, aimed at younger adult men. As of June 2019, the series has been compiled into twenty-two bound volumes. Vinland Saga has also been licensed for English-language publication by Kodansha USA.</p> </div> </section><section id="ceo_latest_comics_widget-2" class="widget ceo_latest_comics_widget"><h3 class="widget-title">Latest Chapters</h3> <ul> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-169-sailing-for-the-west-3/">Vinland Saga Vol.TBD Vinrando Saga Chapter 169: Sailing for the West (3)</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-168-sailing-for-the-west-2/">Vinland Saga Vol.TBD Vinrando Saga Chapter 168: Sailing for the West (2)</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-167-sailing-for-the-west-1/">Vinland Saga Vol.TBD Vinrando Saga Chapter 167: Sailing for the West (1)</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-166-vinland-saga/">Vinland Saga Vol.TBD Vinrando Saga Chapter 166: Vinland Saga</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-165-the-parting-of-sigurd/">Vinland Saga Vol.TBD Vinrando Saga Chapter 165: The Parting of Sigurd</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-164-sigurd-defiant/">Vinland Saga Vol.TBD Vinrando Saga Chapter 164: Sigurd Defiant</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-163-sig-and-hatt/">Vinland Saga Vol.TBD Vinrando Saga Chapter 163: Sig and Hatt</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-162-the-return-of-sigurd/">Vinland Saga Vol.TBD Vinrando Saga Chapter 162: The Return Of Sigurd</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-161-sigurds-decision/">Vinland Saga Vol.TBD Vinrando Saga Chapter 161: Sigurd’s decision</a></li> <li><a href="https://vinlandsagaonline.com/manga/vinland-saga-vol-tbd-vinrando-saga-chapter-160-baltic-sea-war-part-36/">Vinland Saga Vol.TBD Vinrando Saga Chapter 160: Baltic Sea War, Part 36</a></li> </ul> </section><section id="search-4" class="widget widget_search"><form role="search" method="get" class="search-form" action="https://vinlandsagaonline.com/" target="_top"> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search …" value="" name="s"> </label> <input type="submit" class="search-submit" value="Search"> </form></section> </div> </div> </aside> <footer id="colophon" class="site-footer" role="contentinfo" itemscope="itemscope" itemtype="https://schema.org/WPFooter"> <div class="site-info"> <a href="https://vinlandsagaonline.com/">? 2019 vinlandsagaonline.com. All rights reserved.</a> | <a href="https://vinlandsagaonline.com/privacy-policy/">Privacy Policy</a> | <a href="https://vinlandsagaonline.com/terms-and-conditions/">Terms and Conditions</a> | <a href="https://vinlandsagaonline.com/return-policy/">Return Policy</a> </div> </footer> </div> </body> </html>
]]>I have check all pluging.
Removed google adsenc Auto ads.
]]>