Title: Using null as an array offset is deprecated
Last modified: September 23, 2026

---

# Using null as an array offset is deprecated

 *  [bgmahesh](https://wordpress.org/support/users/bgmahesh/)
 * (@bgmahesh)
 * [1 week ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-is-deprecated/)
 * Currently using WordPress 7.1.2 and PHP 8.5
 * After upgrading the plugin to **1.188.0**, I get the following error,
 * **Deprecated**: Using null as an array offset is deprecated, use an empty string
   instead in **/home/u498793097/domains/MYSITENAME.com/public_html/wp-content/plugins/
   google-site-kit/includes/Core/Admin/Screens.php** on line **218**

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

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 week ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-is-deprecated/#post-19027063)
 * Thanks for reaching out and highlighting this [@bgmahesh](https://wordpress.org/support/users/bgmahesh/).
   There is [a GitHub issue](https://github.com/google/site-kit-wp/issues/12814)
   for this and it’s something we are aware of. I’ll highlight this with the team
   this week to see if we can move it along with a possible solution. In the meantime,
   can you confirm no other issues or warnings other than the depreciation notice,
   which shouldn’t impact normal Site Kit functionality?
 *  Thread Starter [bgmahesh](https://wordpress.org/support/users/bgmahesh/)
 * (@bgmahesh)
 * [1 week ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-is-deprecated/#post-19027064)
 * Yes, I don’t see any other message. Thank you for your quick response

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusing-null-as-an-array-offset-is-deprecated%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3606666)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bgmahesh](https://wordpress.org/support/users/bgmahesh/)
 * Last activity: [1 week ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-is-deprecated/#post-19027064)
 * Status: not resolved