Title: Undefined array key &#8220;access_token&#8221;
Last modified: April 2, 2025

---

# Undefined array key “access_token”

 *  Resolved [Jumedeen khan](https://wordpress.org/support/users/jumedeenkhan/)
 * (@jumedeenkhan)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-access_token/)
 * PHP message: PHP Warning: Undefined array key “access_token” in /var/www/example.
   com/htdocs/wp-content/plugins/wordpress-seo/src/config/oauth-client.php on line
   70;
 * and same error for line 71, 72, 73, 74 while reading response header from upstream

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

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-access_token/#post-18395973)
 * Hello [@jumedeenkhan](https://wordpress.org/support/users/jumedeenkhan/)
 * I’m sorry about your experience. Can you provide more details and steps to replicate
   this locally? What version of WordPress and Yoast SEO do you have on the site?
 *  Thread Starter [Jumedeen khan](https://wordpress.org/support/users/jumedeenkhan/)
 * (@jumedeenkhan)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-access_token/#post-18395981)
 * I am using the latest versions of both (WordPress 6.7.2 and Yoast 24.8.1), I 
   have already told you the exact location of the warnings, my server log files
   are full of them, so please fix it as soon as possible.
 *  [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/)
 * (@611shabnam)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-access_token/#post-18400685)
 * Hi [@jumedeenkhan](https://wordpress.org/support/users/jumedeenkhan/)
 * If you disable the integration from WordPress dashboard > Yoast SEO > Integrations,
   do you still see the warnings returning?
 * If so, is every plugin, theme and WordPress itself up to date on your site? Do
   you run any WordPress security plugins or something on the server that blocks
   Oauth related services?
 *  [joytop](https://wordpress.org/support/users/joytop/)
 * (@joytop)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/undefined-array-key-access_token/#post-18605380)
 * I have the same problems and the site takes a long time to load.

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

The topic ‘Undefined array key “access_token”’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [joytop](https://wordpress.org/support/users/joytop/)
 * Last activity: [9 months, 3 weeks ago](https://wordpress.org/support/topic/undefined-array-key-access_token/#post-18605380)
 * Status: resolved