newest RankMath Update: Product Schema with much Errors

#26555
  • Resolved Patrick
    Rank Math business

    dear rankmath team,

    since the latest update of “RankMath”, the “Product Schema Markups” are broken. Please check if it affects all users or only in certain cases.

Viewing 3 replies - 1 through 3 (of 3 total)
  • yes i have same problem and most of options in product got dissapear.
    what should i do now?

    Hello,
    I can’t update the plugin, rankmath, I’ve tried more times but I got the same error, from below.

    The update process is starting. This process may take a while on some hosts, so please be patient.

    Enabling Maintenance mode…
    Updating Plugin Rank Math SEO (1/1)

    Downloading update from https://downloads.wordpress.org/plugin/seo-by-rank-math.1.0.37.1.zip…
    Unpacking the update…
    Installing the latest version…
    Removing the old version of the plugin…

    Warning: chmod(): Permission denied in /home/myfitne0/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 168
    Plugin update failed.

    An error occurred while updating Rank Math SEO: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. sitemap-cache/rank_math_1e4d74b58e41f48e6bfa69be4a2b1a8e.xml, sitemap-cache/rank_math_1a3702496ef7a2e012294a1929679875.xml, sitemap-cache/rank_math_15970bcb1c56551f1332b7d0407efc5f.xml, sitemap-cache/rank_math_7759c67beddd44cb8d1ee80d1735764b.xml, sitemap-cache/rank_math_c3265d20b2ab2921e7123fc77d16cef2.xml, sitemap-cache/rank_math_24a0a1431003c7ab23c312eb8e668d40.xml, sitemap-cache/rank_math_0b53222e449675a3da77ceb9ee0965c9.xml

    Hello @post16 & @radmehr,

    Google Structured data testing tool throws warning for the missing fields in the isrelatedTo attribute but it’s a false positive. In isRelatedTo field only product name and URL of the related products are required. You can check this in the new Google Rich Snippet testing tool: https://search.google.com/test/rich-results

    Still, if you want to remove the isRelatedTo then please add the following code in your theme’s functions.php file:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	if ( isset( $entity['isRelatedTo'] ) ) {
    		unset( $entity['isRelatedTo'] );
    	}
    	return $entity;
    });


    @maricutamihali
    please login to your site via FTP and delete the “seo-by-rank-math” folder in wp-content/plugins folder. You can then perform a fresh install of the plugin without any data loss.

    Hope that helps. If there is anything else, please let us know.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘newest RankMath Update: Product Schema with much Errors’ is closed to new replies.