Title: PHP warning message: Trying to access array offset on null.
Last modified: January 5, 2025

---

# PHP warning message: Trying to access array offset on null.

 *  Resolved [joannapol](https://wordpress.org/support/users/joannapol/)
 * (@joannapol)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-message-trying-to-access-array-offset-on-null-2/)
 * Hi,
 * I have WordPress 6.7.1 and PHP 8.3.14, Sydney- version: 2.48 installed, and I
   got several warning messages with Query Monitor.
 * **Message: **Trying to access array offset on null.
 * **Location:**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **20**0
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **206**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **207**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **211**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **212**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **216**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **217**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **221**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **222**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **226**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **227**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **231**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **232**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **240**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **245**
    - **wp-content/themes/sydney/inc/customizer/style-book/class-sydney-style-book.
      php** on line **246**
 * Please correct, thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-message-trying-to-access-array-offset-on-null-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘PHP warning message: Trying to access array offset on null.’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sydney/2.68/screenshot.png)
 * Sydney
 * [Support Threads](https://wordpress.org/support/theme/sydney/)
 * [Active Topics](https://wordpress.org/support/theme/sydney/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sydney/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sydney/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [joannapol](https://wordpress.org/support/users/joannapol/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-message-trying-to-access-array-offset-on-null-2/)
 * Status: resolved