php errors

#753443
  • Resolved aramola
    Rank Math free

    Hello,

    Warning: Undefined array key “width” in /var/www/vhosts/hosting181585.ae8bb.netcup.net/laramu.it/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 475

    Warning: Undefined array key “height” in /var/www/vhosts/hosting181585.ae8bb.netcup.net/laramu.it/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 476

    I still get these errors even with standard theme and all plugins disabeled.

    laramu.it

    Can you help?

    Heiko

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

    I’m sorry to hear that you are experiencing PHP errors on your website laramu.it. The warnings you mentioned seem to be related to the Rank Math plugin’s schema module.

    Since you have already tried deactivating all plugins and switching to a standard theme without success, it’s essential to ensure that you are using the latest versions of Rank Math and all other plugins.

    To address these warnings, I recommend following these steps:

    1. Update Rank Math and all other plugins to their latest versions.
    2. If the issue persists, you can try troubleshooting for conflicts with other plugins by enabling them one by one and checking if the warnings reappear.
    3. If the problem persists even after updating and checking for conflicts, please reach out to Rank Math’s dedicated support team by clicking here. They are available 24/7 to assist you further.

    Thank you for bringing this concern to our attention, and we appreciate your patience while we work on resolving this issue for you.

    Best regards.

    Sources:
    How to Fix Undefined Offset: 0 Warning » Rank Math
    How to Fix “Invalid object type for field ‘item'” » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Please navigate to WP dashboard > Rank Math > Titles & Meta > Local SEO and make sure that you have set an image for the logo.

    And if the image is already set, please make sure that it isn’t an SVG image as SVG images don’t have a width and height set in WordPress and that’s why it returns a warning.

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

    aramola
    Rank Math free

    Thank you, it was SVG, I changed it to gif. It remains the same. And by the way, a SEO plugin should not have problems dealing with SVGs.

    aramola
    Rank Math free

    Sorry, it works now. I did not change it in Rank math but only in the theme settings.

    Hello,

    Thank you for contacting Rank Math support.

    Glad that everything has been sorted out.

    Do you still need our assistance with anything else or we can go ahead to close the ticket?

    We look forward to helping you.

    Thank you.

    aramola
    Rank Math free

    All good. Thank you.

    Only one thing: It can’t actually be that rank math can’t deal with svg-files, can it?

    Hello,

    The problem is that SVG files don’t have metadata related to their size that we can parse to add inside our Schema markup hence the warnings you are seeing.

    The image itself will get added and our plugin can handle it, but the size cannot be calculated.

    You can also disable the debugging on the website and ignore those warnings to keep using an SVG image as your logo.

    Don’t hesitate to get in touch if you have any other questions.

    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 7 replies - 1 through 7 (of 7 total)

The ticket ‘php errors’ is closed to new replies.