AMP Error “Web Story Is Invalid”
-
Please check the link above.
Error: Disallowed Attribute or Attribute Value Present in HTML Tag
Please help in resolving the issue.
Using the link above, you will see the “Amp Test” and “Problamatic URL” both.
The page I need help with: [log in to see the link]
-
Hello @visheshguptha0 thanks for reaching out. Sorry to see that you are facing this AMP validation issue. Please could you provide the following information so that we can look into this further:
- Your Site Health information or You can share privately if you prefer via this form.
- Did you get this validation error straight after publishing your story or was it passing validation previously?
### wp-core ### version: 5.9 site_language: en_US user_language: en_US timezone: Asia/Kolkata permalink: /%postname%/ https_status: true multisite: 0 user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 14 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/yvwuq2s/public_html wordpress_size: 1.48 GB (1592174934 bytes) uploads_path: /home/yvwuq2s/public_html/wp-content/uploads uploads_size: 755.76 MB (792472444 bytes) themes_path: /home/yvwuq2s/public_html/wp-content/themes themes_size: 6.34 MB (6648496 bytes) plugins_path: /home/yvwuq2s/public_html/wp-content/plugins plugins_size: 175.68 MB (184216276 bytes) database_size: 250.33 MB (262488064 bytes) total_size: 2.64 GB (2838000214 bytes) ### wp-active-theme ### name: GeneratePress (generatepress) version: 3.0.4 (latest version: 3.1.3) author: Tom Usborne author_website: https://tomusborne.com parent_theme: none theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, custom-logo, menus, editor-style, widgets theme_path: /home/yvwuq2s/public_html/wp-content/themes/generatepress auto_update: Disabled ### wp-themes-inactive (3) ### Twenty Nineteen: version: 2.1, author: the WordPress team (latest version: 2.2), Auto-updates disabled Twenty Seventeen: version: 2.2, author: the WordPress team (latest version: 2.9), Auto-updates disabled Twenty Twenty: version: 1.9, author: the WordPress team, Auto-updates disabled ### wp-mu-plugins (2) ### CDN Cache Plugin: author: (undefined), version: 1.1.3 Elementor Safe Mode: version: 1.0.0, author: Elementor.com ### wp-plugins-active (26) ### Akismet Anti-Spam: version: 4.2.2, author: Automattic, Auto-updates disabled All-in-One WP Migration: version: 7.51, author: ServMask (latest version: 7.54), Auto-updates disabled Boxzilla: version: 3.2.25, author: ibericode, Auto-updates disabled CAOS: version: 4.3.0, author: Daan from FFW.Press, Auto-updates disabled Code Snippets: version: 2.14.3, author: Code Snippets Pro, Auto-updates disabled Easy Affiliate Links: version: 3.6.0, author: Bootstrapped Ventures, Auto-updates disabled Elementor: version: 3.0.14, author: Elementor.com (latest version: 3.5.5), Auto-updates disabled Essential Addons for Elementor: version: 4.2.4, author: WPDeveloper (latest version: 5.0.7), Auto-updates disabled GP Premium: version: 2.1.1, author: Tom Usborne, Auto-updates disabled Header and Footer Scripts: version: 2.2.1, author: Digital Liberation, Auto-updates disabled Instant Indexing: version: 1.1.11, author: Rank Math (latest version: 1.1.12), Auto-updates disabled Jetpack: version: 10.6, author: Automattic, Auto-updates disabled LiteSpeed Cache: version: 4.4.3, author: LiteSpeed Technologies (latest version: 4.4.7), Auto-updates disabled miniOrange 2 Factor Authentication: version: 5.4.42, author: miniOrange (latest version: 5.4.52), Auto-updates disabled Newsletter: version: 7.2.7, author: Stefano Lissa & The Newsletter Team (latest version: 7.3.8), Auto-updates disabled Popup Builder: version: 4.0.6, author: Sygnoos (latest version: 4.1.0), Auto-updates disabled Popup Builder Exit Intent: version: 4.0, author: Sygnoos (latest version: 4.1), Auto-updates disabled Rank Math SEO: version: 1.0.81.1, author: Rank Math (latest version: 1.0.82.1), Auto-updates disabled Really Simple SSL: version: 5.2.3, author: Really Simple Plugins, Auto-updates disabled TablePress: version: 1.14, author: Tobias B?thge, Auto-updates disabled Ultimate Blocks: version: 2.4.11, author: Ultimate Blocks, Auto-updates disabled UpdraftPlus - Backup/Restore: version: 1.22.1, author: UpdraftPlus.Com, DavidAnderson, Auto-updates disabled Web Stories: version: 1.17.0, author: Google, Auto-updates disabled WP Coupons and Deals (Premium): version: 3.1.11, author: WP Coupons and Deals, Auto-updates disabled WPForms Lite: version: 1.6.6, author: WPForms (latest version: 1.7.2.1), Auto-updates disabled WP Review: version: 5.3.5, author: MyThemeShop, Auto-updates disabled ### wp-plugins-inactive (2) ### Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled WP Coupons and Deals: version: 3.1.0, author: WP Coupons and Deals (latest version: 3.1.11), Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1808 imagemagick_version: ImageMagick 7.1.0-20 Q16-HDRI x86_64 2022-01-22 https://imagemagick.org imagick_version: 3.5.1 file_uploads: File uploads is turned off post_max_size: 100M upload_max_filesize: 100M max_effective_size: 100 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 125 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 12288 imagick::RESOURCETYPE_MAP: 125 GB imagick::RESOURCETYPE_MEMORY: 63 GB imagick::RESOURCETYPE_THREAD: 1 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVIF, 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, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, 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, QOI, 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, 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: 9.25 ### wp-server ### server_architecture: Linux 3.10.0-962.3.2.lve1.5.39.el7.x86_64 x86_64 httpd_software: Apache php_version: 7.4.27 64bit php_sapi: litespeed max_input_variables: 1000 time_limit: 600 memory_limit: 1G max_input_time: 400 upload_max_filesize: 100M php_post_max_size: 100M curl_version: 7.71.0 OpenSSL/1.1.1d suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 10.3.25-MariaDB client_version: mysqlnd 7.4.27 max_allowed_packet: 268435456 max_connections: 500 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/yvwuq2s/public_html/wp-content WP_PLUGIN_DIR: /home/yvwuq2s/public_html/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 1G WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true 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 ### jetpack ### site_id: 175744581 ssl_cert: No time_diff: undefined version_option: 10.6:1644230205 old_version: 10.2.1:1635217087 public: Public master_user: #1 mahackayacorp current_user: #1 mahackayacorp tokens_set: Blog User blog_token: WCPC7nLAW&Z)16zxFrOSVc^A23EEFcd9 user_token: H8l8Q^@I5*vK))D$9cTG6Q)s7c^@b@2w version: 10.6 jp_plugin_dir: /home/yvwuq2s/public_html/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Wed, 11 Nov 2020 13:49:13 +0000","finished":"Wed, 11 Nov 2020 13:49:15 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"1"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[1],"network_options":true}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/cheapandbesthosting.com","siteurl":"https:\/\/cheapandbesthosting.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass. ### wpforms ### version: 1.6.6 lite: Mar 12, 2020 @ 11:13am upload_dir: Writable db_tables: wp_wpforms_tasks_meta total_forms: 2 total_submissions: 400 ### web_stories ### web_stories_version: 1.17.0 web_stories_db_version: 3.0.14 web_stories_amp_version: 2.3.0-alpha web_stories_cdn_url: https://wp.stories.google/static/15 web_stories_dev_mode: false web_stories_theme_support: Disabled web_stories_enabled_experiments: Insert media from link: Enabled Video trimming: Enabled Thumbnail Caching: Enabled Video Captions: Enabled web_stories_libxml_version: 2.9.7
2. Validation error straight after publishing. These are the first few stories as we started creating today. They never passed the validation.
@visheshguptha0 thanks for providing the information. It looks like you have quite a few plugins active on your site. There could potentially be a conflict with a plugin or even your theme that could be causing this issue.
To rule this out please could you try the following:
Use the Health Check & Troubleshooting plugin and enable its troubleshooting mode. This mode disables active plugins and switches to a default theme safely because it only affects the experience of the logged-in user.
- Please enable the Web Stories plugin and let me know if you still get the issue.
- Enable plugins and your theme one by one in this mode may help pinpoint if something else is involved.
- Note you can disable troubleshooting mode from the plugins page.
These steps will not affect what a user to your site will see while testing this.
@visheshguptha0 I have archived your reply and your account is flagged for moderation.
Do not be rude again. And if you threaten to share your abuse on again you will be banned from this site.
Keep it civil.
Adam
Need to know your findings using the amp checker, the links I have already shared for your convenience.Same plugins and theme is working on other sites.
It has to do with CSS.
Can you pass on the ticket to someone who can help.
The codes are tricky but easy to resolve if you dive in.
@visheshguptha0 the issue as stated in your AMP validation results highlights that the problem is with The attribute ‘href’ in tag ‘link rel=stylesheet for amp-story-1.0 css’ is set to the invalid value ‘/assets/vendor/googleapis/css2?
The value here should be
https://fonts.googleapis.com/css2?display=swap&family=Anton
and not/assets/vendor/googleapis/css2?
. It looks like there could be some interference here from a plugin, theme or even from the server side.So far I am unable to recreate this but still testing on my side but as mentioned above it would be very useful if you could perform the troubleshooting steps using the Health Check & Troubleshooting plugin. This will highlight any possible plugin or theme conflict that could be altering this href value.
Can you pass on the ticket to someone who can help.
There are no tickets here and you are not a customer of anyone on this site. You are being helped by someone who is volunteering their time to you for free. At best you are an opensource collaborator. Don’t call support topics “tickets” it just continues a very wrong idea.
You can accept that help or stop using this plugin. That’s up to you.
As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!
- The topic ‘AMP Error “Web Story Is Invalid”’ is closed to new replies.