Title: Using null as an array offset it deprecated
Last modified: August 17, 2026

---

# Using null as an array offset it deprecated

 *  Resolved [thomaswagner](https://wordpress.org/support/users/thomaswagner/)
 * (@thomaswagner)
 * [1 day, 1 hour ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-it-deprecated/)
 * Hi! Thank you for this plugin.
 * When I use it, I get this warning (I’ve turned them on on my staging instance):
   **
   Deprecated**: : Using null as an array offset is deprecated, use an empty string
   instead in **/var/www/mysite.com/wp-includes/functions.php** on line **1189**
 * Is this because of my site or because of the plugin?
 * Thanks

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

 *  Plugin Author [UnoizeStudio](https://wordpress.org/support/users/unoizestudio/)
 * (@unoizestudio)
 * [1 day ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-it-deprecated/#post-18995676)
 * Hi, thanks so much for flagging this — you’re right, and this one is on us, not
   your setup.It comes from an old WordPress trick we used to grab the current page
   URL (add_query_arg(null, null)), which turns out to have a known quirk that can
   throw exactly this kind of notice on PHP 8.1+. Already fixed it for the next 
   release, so it’ll go away once you update. Really appreciate you taking the time
   to report it with debug logging on — that’s genuinely helpful and made it easy
   to track down.
 * Thanks mate
 *  Plugin Author [UnoizeStudio](https://wordpress.org/support/users/unoizestudio/)
 * (@unoizestudio)
 * [19 hours, 56 minutes ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-it-deprecated/#post-18995853)
 * Next update on September 1

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-it-deprecated%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/unodock/assets/icon-256x256.png?rev=3621752)
 * [UnoDock - Mobile Bottom Navigation](https://wordpress.org/plugins/unodock/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/unodock/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/unodock/)
 * [Active Topics](https://wordpress.org/support/plugin/unodock/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/unodock/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/unodock/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [UnoizeStudio](https://wordpress.org/support/users/unoizestudio/)
 * Last activity: [19 hours, 56 minutes ago](https://wordpress.org/support/topic/using-null-as-an-array-offset-it-deprecated/#post-18995853)
 * Status: resolved