• Resolved ToreoWeb Designs

    (@yiannishp)


    Hi everyone,

    I’m experiencing the following PHP warning in my error log:

    PHP Warning: Undefined array key “url” in /home/customer/www/kombologia.com/public_html/wp-content/plugins/wordpress-seo/src/helpers/schema/image-helper.php on line 109

    I’m using the free version of the Yoast SEO plugin (latest version installed) along with PHP version 8.2.27 on a WordPress site. The warning appears to be triggered when processing image schema data—specifically when the expected "url" key is missing.

    Has anyone encountered this issue before or found a workaround to prevent this warning? I’m interested in any suggestions or fixes that could resolve the issue without directly modifying plugin files.

    Thanks in advance for your help!

    Best regards,
    Yiannis

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello Yiannis,

    Thanks for using the Yoast SEO plugin.

    Are you able to trace the specific image being processed? We’ve had similar reports that involved the image file formats. We would recommend using the supported file types like JPG and PNG especially for the organization logo.

    Thread Starter ToreoWeb Designs

    (@yiannishp)

    Hi Maybellyne,

    Thank you for your reply. I was able to trace the issue, and it turns out that the image being processed was my organization logo, which is in SVG format. After switching it to a supported format (JPG/PNG), the warning has disappeared from the error log.

    I appreciate your guidance on this matter.

    Best regards,
    Yiannis

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

The topic ‘PHP Warning: Undefined Array Key “url” in image-helper.php’ is closed to new replies.