• Greetings WP Customer Reviews team,

    I love your plugin. However, when I started implementing AMP for my website, I kept receiving “Not a valid AMP page” => “Prohibited or invalid use of HTML Tag” => “The attribute ‘href’ may not appear in tag ‘div’.” errors citing 3 instances at this location:

    <div class=”wpcr3_button_1 wpcr3_submit_btn” href=”javascript:void(0);”>Submit</div> <div class=”wpcr3_button_1 wpcr3_cancel_btn” href=”javascript:void(0);”>Cancel</div></td></tr></tbody></table></div></div><div class=”wpcr3_clear wpcr3_pb5″></div><div class=”wpcr3_respond_3″><p></p><div class=”wpcr3_button_1 wpcr3_show_btn” href=”javascript:void(0);”>Create your own review</div></div><div class=”wpcr3_dotline”></div><div class=”wpcr3_reviews_holder”><div class=”wpcr3_review_item”><div class=”wpcr3_item wpcr3_product” itemscope=”” itemtype=”https://schema.org/Product”><div class=”wpcr3_item_name”>Pro Thinspiration Diet</div><meta itemprop=”name” content=”Pro Thinspiration Diet”/><meta itemprop=”brand” content=””/><meta itemprop=”productID” content=””/><div class=”wpcr3_aggregateRating” itemprop=”aggregateRating” itemscope=”” itemtype=”https://schema.org/AggregateRating”><meta itemprop=”bestRating” content=”5″/><meta itemprop=”worstRating” content=”1″/><meta itemprop=”ratingValue” content=”0″/><meta itemprop=”reviewCount” content=”0″/><span class=”wpcr3_aggregateRating_overallText”>Average rating: </span> <div class=”wpcr3_aggregateRating_ratingValue”><div class=”wpcr3_rating_style1″><div class=”wpcr3_rating_style1_base “><div class=”wpcr3_rating_style1_average amp-wp-inline-c264f27e4efb03e4b7d00e37d24f8a29″></div></div></div></div> <span class=”wpcr3_aggregateRating_reviewCount”>0 reviews</span></div></div></div></div></div></div>

    I tried deactivating the plugin and the errors went away, so it’s definitely caused by the WP Customer Reviews plugin.

    I think it’s an easy fix but can greatly impact performance for AMP. I hope you can address this in your next update.

    Thank you very much for creating an amazing plugin.

    Cheers,
    Kurt

  • The topic ‘AMP error caused by WP Customer Review plugin’ is closed to new replies.