Error on my website

#746172
  • Resolved Yannick Larher
    Rank Math free

    Hello,

    I have this error on my website: https://adfformation.fr/

    Warning: Undefined array key “width” in /home/adfformation/www/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 475

    Warning: Undefined array key “height” in /home/adfformation/www/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 476

    I deactivated all plugins except Rankmath and the error persists.
    wordpress, divi, rankmath and plugins are up to date

    I use rankmath on other sites, always with Divi without any problem.

    Thanks for your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I apologize for the issue you are facing with the warnings related to the Rank Math plugin on your website. Thank you for providing the error details.

    The warnings you are encountering seem to be related to undefined array keys in the Rank Math plugin’s schema module. To address this issue, you can follow these steps:

    1. Update Rank Math: Ensure you are using the latest version of the Rank Math plugin.
    2. Check for Plugin Conflicts: Deactivate all plugins except Rank Math and reactivate them one by one to identify if any other plugin is causing the conflict. You can refer to our troubleshooting guide here for detailed instructions.
    3. Contact Rank Math Support: If the issue persists after following the above steps, please reach out to our dedicated support team by clicking here. They are available 24/7 to assist you further.

    If you need any further assistance or have additional questions, feel free to reply to this ticket, and a human agent from our support team will take over.

    Thank you for your understanding and patience as we work to resolve this issue for you.

    Best regards.

    Sources:
    How to Fix Undefined Offset: 0 Warning » Rank Math
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math
    How to Fix “Invalid object type for field ‘item'” » Rank Math

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    It seems like you are using an SVG image for the logo of the website under WordPress Dashboard > Rank Math > Titles & Meta > Local SEO.

    Since those images don’t have metadata that allows the plugin to read its width and height you are seeing these warnings on your website.

    To resolve the issue, please add an image in JPEG or PNG format that has the metadata for those properties, and our plugin can read it and update the markup correctly.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Okay, thank you very much, it works.

    Regards.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post or TrustPilot about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Error on my website’ is closed to new replies.