Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
We were able to reproduce the error and have logged it. Please allow us some time to test and release a fix. It should be added to the plugin in the upcoming update.
For now, to fix the issue on your site, plase add follwoing filter code in your theme’s functions.php file:
add_action( 'rank_math/json_ld', function( $schemas, $jsonld ) {
if ( ! is_singular() || ! isset( $schemas['publisher'] ) || empty( $schemas['publisher']['image'] ) ) {
return $schemas;
}
$schemas['publisher']['logo'] = $schemas['publisher']['image'];
return $schemas;
}, 999, 2 );
I hope that helps.
Hello,
Hope you are doing well.
We fixed the issue in the most recent update. Can you please update to the latest version and let us know if you are still experiencing the issue?
You can open a new support ticket.
Please do clear the cache of your website, server-side, & browser is there’s anything unusual.
We appreciate your patience and understanding in this matter.
Thank you.