Title: Warning log
Last modified: February 4, 2024

---

# Warning log

 *  [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-log/)
 * halo, I get a warning on my website, how is that possible?
   **Warning**: Attempt
   to read property “cap_key” on null in **/public_html/wp-content/plugins/admin-
   menu-editor/includes/menu-editor-core.php** on line **4662**[04-Feb-2024 18:24:
   46 UTC] PHP Warning: Attempt to read property “name” on bool in /wp-admin/nav-
   menus.php on line 1215[04-Feb-2024 18:25:35 UTC] PHP Warning: Attempt to read
   property “name” on bool in /public_html/wp-admin/nav-menus.php on line 1215[04-
   Feb-2024 18:25:41 UTC] PHP Warning: Attempt to read property “cap_key” on null
   in /public_html/wp-content/plugins/admin-menu-editor/includes/menu-editor-core.
   php on line 4662[04-Feb-2024 18:25:41 UTC] PHP Warning: Attempt to read property“
   name” on bool in /public_html/wp-admin/nav-menus.php on line 1215[04-Feb-2024
   18:25:52 UTC] PHP Warning: Attempt to read property “cap_key” on null in /public_html/
   wp-content/plugins/admin-menu-editor/includes/menu-editor-core.php on line 4662[
   04-Feb-2024 18:25:52 UTC] PHP Warning: Attempt to read property “name” on bool
   in /public_html/wp-admin/nav-menus.php on line 1215this happens when I add a 
   menu item to any menu such as the main menu. After saving I get this message
    -  This topic was modified 2 years, 4 months ago by [Mati](https://wordpress.org/support/users/mattheus/).

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

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-log/#post-17399027)
 * That looks like one of those “this should never happen” warnings. It suggests
   that either something is updating metadata for a non-existent user, or an existing
   user cannot be loaded for some reason.
 * Anyway, the warning itself should be easy to fix. Please try the [development version of the plugin](https://downloads.wordpress.org/plugin/admin-menu-editor.zip)–
   it includes a patch for this.
 *  Thread Starter [Mati](https://wordpress.org/support/users/mattheus/)
 * (@mattheus)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-log/#post-17400420)
 * thank you, i replace the plugin but still i get a error a php warning in my debug
   log
 * [05-Feb-2024 19:17:28 UTC] PHP Warning: Attempt to read property “name” on bool
   in /public_html/wp-admin/nav-menus.php on line 1215
   [05-Feb-2024 19:17:34 UTC]
   PHP Warning: Attempt to read property “name” on bool in /wp-admin/nav-menus.php
   on line 1215[05-Feb-2024 19:18:35 UTC] PHP Warning: Attempt to read property “
   name” on bool in /wp-admin/nav-menus.php on line 1215
    -  This reply was modified 2 years, 4 months ago by [Mati](https://wordpress.org/support/users/mattheus/).
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/warning-log/#post-17400567)
 * Those are different warnings and they look like they might not be related to 
   this plugin. As as test, maybe you could deactivate the plugin for a day (for
   example) and see if new warnings stop appearing? If they still show up, they’re
   probably caused by something else.

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

The topic ‘Warning log’ is closed to new replies.

 * ![](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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/warning-log/#post-17400567)
 * Status: not resolved