Support » Plugin: W3 Total Cache » W3 Made all AMP Pages Invalid

  • Resolved DjiXas


    w3-total-cache.0.10.2 has no issues with html minify or all options on

    Latest version broke all amp pages

    <div style="position: relative; padding-bottom: 57%;"><iframe style="position: absolute; top: 0; left: 0;" src="" width="100%" height="100%" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe></div>


    <div class><amp-iframe src= frameborder height=400 allowfullscreen class sandbox="allow-scripts allow-same-origin allow-popups allow-forms allow-top-navigation" layout=fixed-height><div placeholder class=amp-wp-iframe-placeholder></div></amp-iframe></div>

    Notice frameborder , it’s empty and blank and causes google amp pages to invalid, all of our pages are now invalid

    • This topic was modified 8 months ago by .
    • This topic was modified 8 months ago by .
Viewing 1 replies (of 1 total)
  • Plugin Support Marko Vasiljevic


    Hello @djixas

    I am sorry about the issue you are experiencing when HTML minify is enabled.
    This has already been reported and it will be fixed in the future release
    for now you should Replace line 356 in lib/Minify/Minify/HTML.php
    if ( empty( $m[3] ) ) {
    if ( $m[3] === '' ) {

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘W3 Made all AMP Pages Invalid’ is closed to new replies.