Roll back to version named above and it should fix itself for now.
Hello,
Can you guys please open new support tickets and add your WordPress login details in the Sensitive Area so we can take a closer look and fix this for you or maybe find out the actual reason?
Here’s the link to open a new support ticket:
https://support.rankmath.com/product/amp-seo/?view=all#new-topic
Once opened a new ticket, please send an email to s******@r*********** notifying us so we can check the issue on a priority basis.
Looking forward to helping you. Thank you.
Hello,
Thank you for to everyone that opened a separate ticket and helped us reproduce the error.
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 );
Hope that helps.
Hello,
Hope you all 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.