Title: Undefined Variable
Last modified: November 10, 2021

---

# Undefined Variable

 *  Resolved [Jayson Garcia](https://wordpress.org/support/users/hallowichig0/)
 * (@hallowichig0)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-85/)
 * There are too many undefined variable.
 * Example when you are in the capabilities sub-menu and click a tab ‘Editing’. 
   There will be a notice at the bottom says:
 * `Notice: compact(): Undefined variable: caps_manager_postcaps_section in /home/
   user/Documents/websites/mysite/web/app/plugins/capability-manager-enhanced/includes/
   admin.php on line 696`.
    -  This topic was modified 4 years, 8 months ago by [Jayson Garcia](https://wordpress.org/support/users/hallowichig0/).
    -  This topic was modified 4 years, 8 months ago by [Jayson Garcia](https://wordpress.org/support/users/hallowichig0/).
    -  This topic was modified 4 years, 8 months ago by [Jayson Garcia](https://wordpress.org/support/users/hallowichig0/).

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

 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-85/#post-15056237)
 * [@hallowichig0](https://wordpress.org/support/users/hallowichig0/) Can you post
   this as a Github issue with extra details, please?
 * 1) The full error message(s) you see
    2) Details of your setup. Your initial 
   post mentioned using Bedrock?
 * [https://github.com/publishpress/PublishPress-Capabilities/issues/](https://github.com/publishpress/PublishPress-Capabilities/issues/)
 *  [gkofman](https://wordpress.org/support/users/gkofman/)
 * (@gkofman)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-85/#post-15075522)
 * I am experiencing the same error when I updated. I opened an issue on github:
   
   [https://github.com/publishpress/PublishPress-Capabilities/issues/249](https://github.com/publishpress/PublishPress-Capabilities/issues/249)
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-85/#post-15078032)
 * thanks for doing that [@gkofman](https://wordpress.org/support/users/gkofman/)
 *  [trebor33](https://wordpress.org/support/users/trebor33/)
 * (@trebor33)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-85/#post-15080103)
 * Hi Steve:
 * I am also seeing the same error notice as the other two users above. I see that
   you have already responded to the Github thread and are likely already working
   on this issue. Just wanted to follow up to confirm the issue just in case.
 * Thanks for your help in looking into this!
 * -Robert

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

The topic ‘Undefined Variable’ is closed to new replies.

 * ![](https://ps.w.org/capability-manager-enhanced/assets/icon-256x256.png?rev=
   3568949)
 * [PublishPress Capabilities - User Role Editor, Access Permissions, User Capabilities, Admin Menus](https://wordpress.org/plugins/capability-manager-enhanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/capability-manager-enhanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/capability-manager-enhanced/)
 * [Active Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [trebor33](https://wordpress.org/support/users/trebor33/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/undefined-variable-85/#post-15080103)
 * Status: resolved