Title: PHP Warning: Undefined Array Key &#8220;url&#8221; in image-helper.php
Last modified: February 12, 2025

---

# PHP Warning: Undefined Array Key “url” in image-helper.php

 *  Resolved [ToreoWeb Designs](https://wordpress.org/support/users/yiannishp/)
 * (@yiannishp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url-in-image-helper-php/)
 * 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](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url-in-image-helper-php/#post-18302528)
 * 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](https://wordpress.org/support/users/yiannishp/)
 * (@yiannishp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url-in-image-helper-php/#post-18302664)
 * 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.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [ToreoWeb Designs](https://wordpress.org/support/users/yiannishp/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url-in-image-helper-php/#post-18302664)
 * Status: resolved