Support » Plugin: WP-PostRatings » Review snippets  Invalid object type for field “itemReviewed”

  • Resolved deepakvaishanav

    (@deepakvaishanav)


    I’m Using this plugins last 2 years. and Installed on our more then Websites. Mostly My all websites related to Cleaning service. Coming the issue of Review Snippets Invalid object type for field “itemReviewed”.

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

Viewing 12 replies - 16 through 27 (of 27 total)
  • You could maybe natively implement the ability to count a specific set of html tags (for instance h2 or h3 tags within the post or specific elements with a certain css class) within a post.
    then add automatically the needed step object for each of the counted html tags’ contents.
    This way we could make better use of your native filter that allows changing the schema and this way we could make use of howto schema in a better way.

    • This reply was modified 9 months, 3 weeks ago by Saskia Lund.

    It’s just a disaster. I have the same problem https://exoticfonts.com/
    Nothing canbe done? It’s a pity that when you disable the plugin, a lot of ratings will be lost …

    dijustzirka

    (@dijustzirka)

    I have the same problem on a version 1.89 / Maybe author of plugin can change micro data to

    {
        "@context": "https://schema.org/",
        "@type": "CreativeWorkSeries",
        "name": "[title]",
        "aggregateRating": {
            "@type": "AggregateRating",
            "ratingValue": "[score]",
            "bestRating": "[best]",
            "ratingCount": "[count]"
        }
    }
    Plugin Author Lester Chan

    (@gamerz)

    Changing the type is not a good idea because if Google realized the type is different from the content, you will still get penalized.

    I have the same issue, I’m working with a recipe blog :-/

    Hello. I have same problem with “itemReviewed” on AMP pages and Google Search Console on site tripchit.com. Can anyone help with this?

    onfix

    (@bharat52)

    Hello Everyone,
    This is not Problem, plugin work perfectly but you’re missing configure your site what Related.
    Add following code to your themes functions.php and Replace this line-http://schema.org/(Rplace this for related your site.)

    <?php  
    add_filter( 'wp_postratings_schema_itemtype', 'wp_postratings_schema_itemtype' );  
    function wp_postratings_schema_itemtype( $itemtype ) {  
        return 'itemscope itemtype="http://schema.org/Recipe"';  
    }  
    ?>

    that fixed worked for me, now i am a cooking boss !

    I was looking for a custom code to implement a rating system, then found this plugin, now schema error, when checked, google now don’t provide any rating schema for “article”. don’t know what to do, either to use this or leave this. I am totally confused. Here is my site which is getting the error “Tech Behind It“, you can check any article to review the error. When any person found any solution, which Google will not penalize, like I read the above solutions, guys I am telling you to google will find and penalize your site if you go for any solution provided in the comments

    i investigate further about this, you can try using “creativeworkseries”, its now tipical use for other rating plugin, and some of them can show star on serp.

    in my site toptruyenfull.com
    `<span itemprop=”aggregateRating” itemscope=”” itemtype=”http://schema.org/AggregateRating”&gt;
    <b><span itemprop=”ratingValue”>9.50</span></b>/<b><span itemprop=”bestRating”>10</span></b> từ <b><span itemprop=”reviewCount”>106</span></b> lượt
    </span>
    but till this issue

    Invalid object type for field “itemReviewed”

    Missing reviewed item name

    Hello, im using your plugin thank you very much. I see this problem is not resolved. I’m not asking this for a bad reason. Why should we use this plugin?

Viewing 12 replies - 16 through 27 (of 27 total)
  • You must be logged in to reply to this topic.