• Resolved Popseo

    (@chacko)


    1 AMP error with 2 issues

    1) The tag ‘amp-analytics nomodule extension script’ is missing or incorrect, but required by ‘amp-analytics module extension script’.

    2) There are scripts in the page using different release versions.

    Please advice.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 23 total)
  • @chacko Hello, thank you for your topic. Could you please share your Web Stories URL?

    Thread Starter Popseo

    (@chacko)

    Please click

    Thank you

    @chacko Thank you. I noticed you are using WP Rocket. Can you please go to Settings > WP Rocket > File Optimization > JavaScript files and let me know if the boxes for both Minify JavaScript files and Combine JavaScript files are checked?

    If so, could you uncheck the boxes for both Minify JavaScript files and Combine JavaScript files, then re-test your story at https://search.google.com/test/amp and let me know if you are still seeing issues?

    Thread Starter Popseo

    (@chacko)

    @luckynasan

    I did that. (addl info: Load JavaScript deferred is on and /jquery-?[0-9.]*(.min|.slim|.slim.min)?.js is in excluded Javascript column.

    The test result

    Validation issues

    1)

    The tag ‘amp-analytics nomodule extension script’ is missing or incorrect, but required by ‘amp-analytics module extension script’.
    Line 18:13

    2)

    The script version for ‘amp-analytics’ is a standard version which mismatches with the first script on the page using the module/nomodule version.

    <script async custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script><script async crossorigin=anonymous custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.mjs type=module></script><script async crossorigin=anonymous custom-element=amp-story-auto-ads nomodule src=https://cdn.ampproject.org/v0/amp-story-auto-ads-0.1.js></script><script async crossorigin=anonymous custom-element=amp-story-auto-ads src=https://cdn.ampproject.org/v0/amp-story-auto-ads-0.1.mjs type=module></script><link href=https://frontierindia-com.cdn.ampproject.org/i/s/frontierindia.com/favicon.icon rel="shortcut icon"><link href=https://frontierindia.com rel="dns-prefetch preconnect"><style amp-custom>amp-story-page{background-color:#131516}amp-story-grid-layer{overflow:visible}@media (max-aspect-ratio: 9 / 16){@media (min-aspect-ratio: 320 / 678){amp-story-grid-layer.grid-layer{margin-top:calc(( 100% / .5625 - 100% / .66666666666667 ) / 2)}}}.page-fullbleed-area{position:absolute;overflow:hidden;width:100%;left:0;height:calc(1.1851851851852 * 100%);top:calc(( 1 - 1.1851851851852 ) * 100% / 2)}.page-safe-area{overflow:visible;position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:calc(.84375 * 100%);margin:auto 0}.mask{position:absolute;overflow:hidden}.fill{position:absolute;top:0;left:0;right:0;bottom:0;margin:0}._c84718f{background-color:#fff}._0e01dfe{position:absolute;pointer-events:none;left:0%;top:-9.25926%;width:100%;height:118.51852%;opacity:1}._a1b70b8{pointer-events:initial;width:100%;height:100%;display:block;position:absolute;top:0;left:0}._dc67a5c{will-change:transform}._a49fcf5{position:absolute;pointer-events:none;left:0%;top:-9.70874%;width:100.24272%;height:118.60841%;opacity:1}._ee9b442{position:absolute;width:102.60668%;height:100%;left:-1.30334%;top:0%}._f09cc7b{background-color:#000}._175669b{position:absolute;pointer-events:none;left:-5.33981%;top:-.16181%;width:122.3301%;height:109.06149%;opacity:1}._b84fbf6{position:absolute;width:100.29762%;height:100%;left:-.14881%;top:0%}._58861e9{position:absolute;pointer-events:none;left:-.48544%;top:-9.87055%;width:104.36893%;height:121.35922%;opacity:1}._2bd90ee{position:absolute;width:174.4186%;height:100%;left:-37.2093%;top:0%}._5128a1b{position:absolute;pointer-events:none;left:-3.8835%;top:-9.70874%;width:127.6699%;height:118.77023%;opacity:1}._4a0f432{position:absolute;width:111.63499%;height:100%;left:-10.68703%;top:0%}._88d4cd7{position:absolute;pointer-events:none;left:-23.05825%;top:-10.03236%;width:130.82524%;height:118.93204%;opacity:1}._8d19571{position:absolute;width:102.27273%;height:100%;left:-1.13637%;top:0%}._5bd3ff5{background-color:#303565}._0addee6{position:absolute;width:133.33334%;height:100%;left:-16.66667%;top:0%}._007019a{position:absolute;pointer-events:none;left:-51.69903%;top:-9.38511%;width:178.15534%;height:118.77023%;opacity:1}._1f75e3b{position:absolute;width:100%;height:100%;left:0%;top:0%}._b54ae7f{background-color:#362f2b}._7619e32{position:absolute;width:365.84495%;height:100%;left:-132.92247%;top:0%}._ea3206b{position:absolute;pointer-events:none;left:-9.70874%;top:-9.38511%;width:130.09709%;height:118.28479%;opacity:1}._6fa778b{position:absolute;width:109.10448%;height:100%;left:-4.55224%;top:0%}._cd1ef05{position:absolute;pointer-events:none;left:-.24272%;top:-9.38511%;width:100.24272%;height:118.93204%;opacity:1}._c8829e0{position:absolute;width:100%;height:115.0781%;left:0%;top:-7.53905%}._16354d8{position:absolute;pointer-events:none;left:-8.00971%;top:-9.87055%;width:114.32039%;height:123.30097%;opacity:1}._3fac148{position:absolute;width:103.53342%;height:100%;left:-1.76671%;top:0%}._9a36565{position:absolute;pointer-events:none;left:-41.99029%;top:-10.03236%;width:153.39806%;height:119.09385%;opacity:1}._f39ab67{position:absolute;width:116.45569%;height:100%;left:-2.15948%;top:0%}._e62075c{position:absolute;pointer-events:none;left:-32.52427%;top:-10.03236%;width:142.96117%;height:118.93204%;opacity:1}._f527adb{position:absolute;width:100%;height:100.4644%;left:0%;top:-.2322%}._839884c{background-color:#e8e8e1}._36eed0b{position:absolute;width:136.12699%;height:100%;left:-18.06349%;top:0%}._ad50d1d{background-color:#4e455b}._8ad3137{position:absolute;width:150.77356%;height:100%;left:-25.38678%;top:0%}._3486c97{position:absolute;pointer-events:none;left:-15.29126%;top:-9.87055%;width:139.32039%;height:118.77023%;opacity:1}._4f07476{position:absolute;width:100%;height:100.19584%;left:0%;top:-.09792%}._feba793{background-color:#d2c7b4}._f3ccc4e{position:absolute;width:161.01759%;height:100%;left:-30.50879%;top:0%}._c37aa33{position:absolute;pointer-events:none;left:-6.31068%;top:-9.70874%;width:107.76699%;height:118.77023%;opacity:1}._47296cb{position:absolute;width:100%;height:100.68633%;left:0%;top:-.34317%}._afa2d16{position:absolute;pointer-events:none;left:-15.04854%;top:-9.70874%;width:128.8835%;height:121.0356%;opacity:1}._866eceb{position:absolute;width:102.56826%;height:100%;left:-1.28413%;top:0%}._06b225e{position:absolute;pointer-events:none;left:-24.02913%;top:-9.87055%;width:139.80583%;height:121.0356%;opacity:1}._9e0e9d9{position:absolute;width:100%;height:102.46034%;left:0%;top:-1.23017%}

    Thread Starter Popseo

    (@chacko)

    FYI, I reverted to the earlier setting.

    @chacko To confirm, you now have those settings checked off again?

    Do these errors occur if you temporarily disable that plugin?

    Thread Starter Popseo

    (@chacko)

    Hi @luckynasan

    I have followed this https://github.com/google/web-stories-wp/issues/4490

    Then I disabled Wp Rocket. Same error.

    I then disabled clarify and imagify (WP rocket on with github given settings)

    Current status, Rocket (with github mentioned settings), clarify and imagify are all on.

    Error remains.

    @chacko Could you provide your Site Health information? You can share privately if you prefer.

    Thread Starter Popseo

    (@chacko)

    I have sent it. Please cheack.

    If you want temperory access to the website admin, I will share with you.

    We are not allowed admin access per forum guidelines, but we’d like to work with you to get Stories validated again.

    Could you please copy your Site Health information privately in the form?

    Thread Starter Popseo

    (@chacko)

    Site Health

    1) The SQL server is a required piece of software for the database WordPress uses to store all your site’s content and settings.

    For optimal performance and security reasons, we recommend running MariaDB version 10.0 or higher. Contact your web hosting company to correct this.

    2) The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

    The REST API did not process the context query parameter correctly.

    Thank you, @chacko! We do need some more details here, though – can you resubmit the form, following the instructions in this image?

    Thread Starter Popseo

    (@chacko)

    Please check the form. @shetheliving

    Thanks, @chacko!

    Can you please try temporarily deactivating both of your site’s optimization plugins, WP Rocket and Clearfy, and then try testing your story at https://search.google.com/test/amp? Based on the testing you’ve done so far, my guess is that Clearfy is minifying the necessary JS files here, but WP Rocket may also be having an impact, as well.

    Thread Starter Popseo

    (@chacko)

    I consulted with wp-rocket. Here is what they say.

    Also, these same validation issues exist when I test the version of the page with WP Rocket bypassed, by appending ?nowprocket to the end:
    https://search.google.com/test/amp?id=WovMgXxtvX6DTny9Sp30bw

    In other words, it doesn’t seem that the validation issues are actually related to WP Rocket, from what I’m seeing.

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

The topic ‘AMP errors on google search dashboard’ is closed to new replies.