• Hi, I’m getting this error:
    <b>Warning</b>: Undefined array key "REDIRECT_HTTP_AUTHORIZATION" in <b>/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php</b> on line <b>225</b><br />

    You need to use !empty() to fix this.

    Fixed Code: (Replace to jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php:225)
    $auth_header = !empty( $_SERVER['REDIRECT_HTTP_AUTHORIZATION'] ) ? sanitize_text_field( $_SERVER['REDIRECT_HTTP_AUTHORIZATION'] ) : false;

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Warning: REDIRECT_HTTP_AUTHORIZATION + Fix’ is closed to new replies.