Title: Undefined array key 0
Last modified: September 14, 2021

---

# Undefined array key 0

 *  [tripledm](https://wordpress.org/support/users/tripledm/)
 * (@tripledm)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-array-key-0-2/)
 * Hello,
 * Running Query Monitor and giving me a Warning.
 * Undefined array key 0
    Count 7 Plugin: simple-local-avatars LOCATION:
 *     ```
       wp-includes/meta.php:573
       get_metadata_raw()
       wp-includes/meta.php:509
       get_metadata()
       wp-includes/user.php:1023
       get_user_meta()
       wp-content/plugins/simple-local-avatars/includes/class-simple-local-avatars.php:120
       Simple_Local_Avatars->get_simple_local_avatar_url()
       wp-content/plugins/simple-local-avatars/includes/class-simple-local-avatars.php:78
       Simple_Local_Avatars->get_avatar_data()
       wp-includes/class-wp-hook.php:303
       apply_filters('pre_get_avatar_data')
       wp-includes/link-template.php:4300
       get_avatar_data()
       wp-includes/link-template.php:4160
       get_avatar_url()
       wp-content/plugins/wordpress-seo/src/generators/schema/person.php:223
       Yoast\W\S\G\S\Person->set_image_from_avatar()
       wp-content/plugins/wordpress-seo/src/generators/schema/person.php:178
       Yoast\W\S\G\S\Person->add_image()
       wp-content/plugins/wordpress-seo/src/generators/schema/person.php:146
       Yoast\W\S\G\S\Person->build_person_data()
       wp-content/plugins/wordpress-seo/src/generators/schema/author.php:44
       Yoast\W\S\G\S\Author->generate()
       wp-content/plugins/wordpress-seo/src/generators/schema-generator.php:128
       Yoast\W\S\G\Schema_Generator->generate_graph()
       wp-content/plugins/wordpress-seo/src/generators/schema-generator.php:76
       Yoast\W\S\G\Schema_Generator->generate()
       wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php:738
       Yoast\W\S\P\Indexable_Presentation->generate_schema()
       wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php:64
       Yoast\W\S\P\Abstract_Presentation->__get()
       wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php:60
       Yoast\W\S\P\Schema_Presenter->get()
       wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php:44
       Yoast\W\S\P\Schema_Presenter->present()
       wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:317
       Yoast\W\S\I\Front_End_Integration->present_head()
       wp-includes/class-wp-hook.php:303
       do_action('wpseo_head')
       wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php:291
       Yoast\W\S\I\Front_End_Integration->call_wpseo_head()
       wp-includes/class-wp-hook.php:303
       do_action('wp_head')
       wp-includes/general-template.php:3015
       wp_head()
       wp-content/themes/jnews-child/header.php:12
       load_template('wp-content/themes/jnews-child/header.php')
       wp-includes/template.php:716
       locate_template()
       wp-includes/general-template.php:48
       get_header()
       wp-content/themes/jnews/single.php:5
       ```
   

The topic ‘Undefined array key 0’ is closed to new replies.

 * ![](https://ps.w.org/simple-local-avatars/assets/icon.svg?rev=2783752)
 * [Simple Local Avatars](https://wordpress.org/plugins/simple-local-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-local-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-local-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-local-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-local-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-local-avatars/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tripledm](https://wordpress.org/support/users/tripledm/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-array-key-0-2/)
 * Status: not resolved