Title: PHP Warning: Undefined array key &#8220;url&#8221;
Last modified: November 22, 2022

---

# PHP Warning: Undefined array key “url”

 *  Resolved [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/)
 * Since updating to PHP8.1 I’m getting the following errors:
 *     ```
       [22-Nov-2022 10:37:03 UTC] PHP Warning:  Undefined array key "url" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 39
       [22-Nov-2022 10:37:03 UTC] PHP Warning:  Undefined array key "url" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 40
       [22-Nov-2022 10:37:03 UTC] PHP Warning:  Undefined array key "description" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 42
       [22-Nov-2022 10:37:03 UTC] PHP Warning:  Undefined array key "url" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 45
       [22-Nov-2022 10:37:04 UTC] PHP Warning:  Undefined array key "url" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 39
       [22-Nov-2022 10:37:04 UTC] PHP Warning:  Undefined array key "url" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 40
       [22-Nov-2022 10:37:04 UTC] PHP Warning:  Undefined array key "description" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 42
       [22-Nov-2022 10:37:04 UTC] PHP Warning:  Undefined array key "url" in /home/path/to/domain/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/WebPage/WebPage.php on line 45
       ```
   
 * Nothing major, probably just having add isset() or declare a variable or something.
   Maybe you can look into this for a coming update.

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/?output_format=md)
[1](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/?output_format=md)
2

 *  Thread Starter [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/page/2/#post-16376937)
 * I have made the suggested changed and remove all caching files. Will let you 
   know if the errors go away. Thank you.
 *  Thread Starter [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/page/2/#post-16380704)
 * I have made the changes. I’ll update you in a few days.
 *  Thread Starter [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/page/2/#post-16389334)
 * So far so good. Does this help solve this issue?
 *  Plugin Author [arnaudbroes](https://wordpress.org/support/users/arnaudbroes/)
 * (@arnaudbroes)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/page/2/#post-16397226)
 * [@vespino](https://wordpress.org/support/users/vespino/) I’m still not sure why
   exactly this is happening, but since another user has also reported this now,
   I’ll try to fix it in the next update.
 *  Thread Starter [vespino](https://wordpress.org/support/users/vespino/)
 * (@vespino)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/page/2/#post-16397251)
 * Cheers.

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/?output_format=md)
[1](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/?output_format=md)
2

The topic ‘PHP Warning: Undefined array key “url”’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

## Tags

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

 * 20 replies
 * 4 participants
 * Last reply from: [vespino](https://wordpress.org/support/users/vespino/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-url/page/2/#post-16397251)
 * Status: resolved