Title: PHP 8.5 Deprecated warning
Last modified: February 10, 2026

---

# PHP 8.5 Deprecated warning

 *  Resolved [Ralf R.](https://wordpress.org/support/users/ralfreymann/)
 * (@ralfreymann)
 * [4 months ago](https://wordpress.org/support/topic/php-8-5-deprecated-warning/)
 * For some other testings, i switched on Debug log. I found issues with admin edtior
   too:
 *     ```wp-block-code
       PHP Deprecated: Using null as an array offset is deprecated, use an empty string instead in /wp-content/plugins/admin-menu-editor/includes/menu-item.php on line 284
       ```
   
 * AI says there would be a simple solution (in line 284?):
 *     ```wp-block-code
       $key = $key ?? '';$value = $array[$key] ?? null;
       ```
   
 * instead of only $value = $array[$key];
 * Would be nice if this plugin gets fully php 8.5 functional.

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

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [4 months ago](https://wordpress.org/support/topic/php-8-5-deprecated-warning/#post-18816622)
 * Thank you for the report. I haven’t really tested this plugin with PHP 8.5, but
   I’ll add that to my to-do list and hopefully get this fixed in the next update.
 *  Thread Starter [Ralf R.](https://wordpress.org/support/users/ralfreymann/)
 * (@ralfreymann)
 * [4 months ago](https://wordpress.org/support/topic/php-8-5-deprecated-warning/#post-18816824)
 * Hello Janis, thanks a lot. I can test it after update too and give a feedback
   if it works 🙂
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [4 months ago](https://wordpress.org/support/topic/php-8-5-deprecated-warning/#post-18818147)
 * This should be fixed in [the development version](https://downloads.wordpress.org/plugin/admin-menu-editor.zip).
 *  Thread Starter [Ralf R.](https://wordpress.org/support/users/ralfreymann/)
 * (@ralfreymann)
 * [3 months, 4 weeks ago](https://wordpress.org/support/topic/php-8-5-deprecated-warning/#post-18819255)
 * Thanks, until now it works – i dont see new entries in debug mode until now 🙂

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-5-deprecated-warning%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/admin-menu-editor/assets/icon-128x128.png?rev=1418604)
 * [Admin Menu Editor](https://wordpress.org/plugins/admin-menu-editor/)
 * [Support Threads](https://wordpress.org/support/plugin/admin-menu-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-menu-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-menu-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-menu-editor/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ralf R.](https://wordpress.org/support/users/ralfreymann/)
 * Last activity: [3 months, 4 weeks ago](https://wordpress.org/support/topic/php-8-5-deprecated-warning/#post-18819255)
 * Status: resolved