Title: PHP message: PHP Warning: Undefined array key &#8220;HTTP_AUTHORIZATION&#8221;
Last modified: March 27, 2023

---

# PHP message: PHP Warning: Undefined array key “HTTP_AUTHORIZATION”

 *  [Nordic Custom Made](https://wordpress.org/support/users/nordiccustommade/)
 * (@nordiccustommade)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-message-php-warning-undefined-array-key-http_authorization/)
 * Hi, we are getting this PHP Warning can we get you guys to look at it.
 * 2023/03/26 11:50:56 [error] 115372#115372: *137036 FastCGI sent in stderr: “PHP
   message: PHP Warning: Undefined array key “HTTP_AUTHORIZATION” in /www/domain/
   public/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/class-jwt-
   auth-public.php on line 222PHP message: PHP Warning: Undefined array key “REDIRECT_HTTP_AUTHORIZATION”
   in /www/domain/public/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/
   class-jwt-auth-public.php on line 225″ while reading response header from upstream,
   client: 80.208.69.85, server: domain.dk, request: “OPTIONS /wp-json/appcommerce/
   v2/products?type=simple,variable&visibility=catalog&page=1&appp=3&status=publish
   HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-domain.sock:”, host:“
   domain.dk:23642”, referrer: “[http://localhost/&#8221](http://localhost/&#8221);
    -  This topic was modified 3 years, 2 months ago by [Nordic Custom Made](https://wordpress.org/support/users/nordiccustommade/).

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

 *  [maartenheideman](https://wordpress.org/support/users/maartenheideman/)
 * (@maartenheideman)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-message-php-warning-undefined-array-key-http_authorization/#post-16847192)
 * Same issue here, did you fixed it?
 *     ```wp-block-code
       PHP message: PHP Warning: Undefined array key "HTTP_AUTHORIZATION" in /public/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php on line 222PHP message: PHP Warning: Undefined array key "REDIRECT_HTTP_AUTHORIZATION" in /public/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php on line 225" while reading response header from upstream, client: , server: "GET /wp-json/wp-statistics/v2/online?
       ```
   
 *  Thread Starter [Nordic Custom Made](https://wordpress.org/support/users/nordiccustommade/)
 * (@nordiccustommade)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-message-php-warning-undefined-array-key-http_authorization/#post-16847304)
 * Hi [@maartenheideman](https://wordpress.org/support/users/maartenheideman/),
   
   No, haven’t fixed it myself, but because we use it for [https://apppresser.com/](https://apppresser.com/),
   we got a version from them that has some bugs fixed.As far as I know they have
   also tried to get in touch with them to get a new version released.

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

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

 * ![](https://ps.w.org/jwt-authentication-for-wp-rest-api/assets/icon-256x256.jpg?
   rev=3372068)
 * [JWT Authentication for WP REST API](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Nordic Custom Made](https://wordpress.org/support/users/nordiccustommade/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/php-message-php-warning-undefined-array-key-http_authorization/#post-16847304)
 * Status: not resolved