• 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.