Title: PHP Warnings: Undefined array key &amp; Deprecated strtolower() usage
Last modified: December 2, 2025

---

# PHP Warnings: Undefined array key & Deprecated strtolower() usage

 *  Resolved [debra15](https://wordpress.org/support/users/debra15/)
 * (@debra15)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/php-warnings-undefined-array-key-deprecated-strtolower-usage/)
 * Hi, I encountered a couple of warnings related to Meow Gallery and would like
   to report them
    1. **Warning: Undefined array key 1**
 *     ```wp-block-code
       Warning: Undefined array key 1
       /wp-content/plugins/meow-gallery/classes/core.php on line 251
       ```
   
    2. **Deprecated notice:**
 *     ```wp-block-code
       Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
       /wp-content/plugins/meow-gallery/classes/orderby.php on line 9
       ```
   
 * These messages appear repeatedly in the PHP error log.
   Due to maintenance and
   monitoring requirements, I can’t disable the error log on this site, so the files
   grow very quickly.
 * Environment details:
    - WordPress version: 6.8.2
    - PHP version: 8.3
    - Plugin: 5.3.8
 * The site itself functions normally, but I wanted to confirm if these warnings
   indicate something that needs adjustment, or if a patch might be planned.
 * Thank you for maintaining this plugin!

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

 *  Plugin Support [Val Meow](https://wordpress.org/support/users/valwa/)
 * (@valwa)
 * [6 months ago](https://wordpress.org/support/topic/php-warnings-undefined-array-key-deprecated-strtolower-usage/#post-18745902)
 * Hey [@debra15](https://wordpress.org/support/users/debra15/)! 👋
 * Thanks for reporting, this should be fixed in the next update. Thanks for your
   patience and understanding!
 *  Thread Starter [debra15](https://wordpress.org/support/users/debra15/)
 * (@debra15)
 * [6 months ago](https://wordpress.org/support/topic/php-warnings-undefined-array-key-deprecated-strtolower-usage/#post-18746545)
 * Hi [@valwa](https://wordpress.org/support/users/valwa/) 
   I’ve updated the plugin
   and tested it on my site. The warnings are gone, and everything is working correctly
   now.
 * Thanks for the quick fix and for maintaining this plugin!

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

The topic ‘PHP Warnings: Undefined array key & Deprecated strtolower() usage’ is
closed to new replies.

 * ![](https://ps.w.org/meow-gallery/assets/icon-256x256.png?rev=2791571)
 * [Meow Gallery](https://wordpress.org/plugins/meow-gallery/)
 * [Support Threads](https://wordpress.org/support/plugin/meow-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/meow-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meow-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meow-gallery/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [debra15](https://wordpress.org/support/users/debra15/)
 * Last activity: [6 months ago](https://wordpress.org/support/topic/php-warnings-undefined-array-key-deprecated-strtolower-usage/#post-18746545)
 * Status: resolved