Title: Undefined array key &#8220;HTTP_REFERER&#8221;
Last modified: May 1, 2022

---

# Undefined array key “HTTP_REFERER”

 *  Resolved [kaskas](https://wordpress.org/support/users/kaskas/)
 * (@kaskas)
 * [4 years ago](https://wordpress.org/support/topic/undefined-array-key-http_referer/)
 * Hi
 * In my Servers error-log, there is a lot of php warnings like this:
    [Sun May 
   01 12:16:16.147570 2022] [proxy_fcgi:error] [pid 3977388:tid 140461212890880][
   client xxx.xxx.xxx.xxx:xxxxx] AH01071: Got error ‘PHP message: PHP Warning: Undefined
   array key “HTTP_REFERER” in /var/www/vhosts/xxxx/xxxx/xxxx/wp-content/plugins/
   simple-local-avatars/includes/class-simple-local-avatars.php on line 83’
 * Is this something which has to be fixed? Should I be worried about this?
 * php-version: 8.1.3
    Simple Local Avatars – Version: 2.3.0

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

 *  [Austin](https://wordpress.org/support/users/austyfrosty/)
 * (@austyfrosty)
 * [4 years ago](https://wordpress.org/support/topic/undefined-array-key-http_referer/#post-15613775)
 * It’s just a PHP Notice, not to worry. Should be a simple change for the developers:
   [https://github.com/10up/simple-local-avatars/blob/develop/includes/class-simple-local-avatars.php#L83=](https://github.com/10up/simple-local-avatars/blob/develop/includes/class-simple-local-avatars.php#L83=)
   to wrap $_SERVER in an `isset` or `!emmpty`.
 *  Plugin Contributor [Faisal Alvi](https://wordpress.org/support/users/faisal03/)
 * (@faisal03)
 * [4 years ago](https://wordpress.org/support/topic/undefined-array-key-http_referer/#post-15653419)
 * [@kaskas](https://wordpress.org/support/users/kaskas/) thanks for the report,
   the fix is made [here](https://github.com/10up/simple-local-avatars/pull/129)
   and will be released soon.
    [@austyfrosty](https://wordpress.org/support/users/austyfrosty/)
   agree, thanks for the suggestion.

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

The topic ‘Undefined array key “HTTP_REFERER”’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [Faisal Alvi](https://wordpress.org/support/users/faisal03/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/undefined-array-key-http_referer/#post-15653419)
 * Status: resolved