Title: Error Undefined $title_text
Last modified: March 7, 2026

---

# Error Undefined $title_text

 *  Resolved [vaidyamanishjoshi](https://wordpress.org/support/users/vaidyamanishjoshi/)
 * (@vaidyamanishjoshi)
 * [2 months ago](https://wordpress.org/support/topic/error-undefined-title_text/)
 * When opening capabilities >> Additional, getting error as **Warning**: Undefined
   variable $title_text in **mysite\wp-content\plugins\capability-manager-enhanced\
   includes\admin.php** on line **1618**

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

 *  Plugin Support [Riza Prihananto](https://wordpress.org/support/users/rizaprihananto/)
 * (@rizaprihananto)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/error-undefined-title_text/#post-18846262)
 * Hi [@vaidyamanishjoshi](https://wordpress.org/support/users/vaidyamanishjoshi/),
   
   Thank you for using our plugin. Could you tell us what is the version the plugin
   that you installed? I installed the latest one and I do not find that error: 
   [https://prnt.sc/iP0O7rs1jgIP](https://prnt.sc/iP0O7rs1jgIP).
 *  Thread Starter [vaidyamanishjoshi](https://wordpress.org/support/users/vaidyamanishjoshi/)
 * (@vaidyamanishjoshi)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/error-undefined-title_text/#post-18846790)
 * Hello, i think error is shown when woocommerce is installed. Because these errors
   are seen related to products, orders, cartflow etc. In screenshot you are seeing
   General Member = Subscriber (Name Edited By Me)
 * screenshot – [https://postimg.cc/LgF40b0D](https://postimg.cc/LgF40b0D)
    -  This reply was modified 1 month, 3 weeks ago by [vaidyamanishjoshi](https://wordpress.org/support/users/vaidyamanishjoshi/).
 *  Plugin Support [Riza Prihananto](https://wordpress.org/support/users/rizaprihananto/)
 * (@rizaprihananto)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/error-undefined-title_text/#post-18851247)
 * Hi [@vaidyamanishjoshi](https://wordpress.org/support/users/vaidyamanishjoshi/),
   
   I am so sorry, we cannot see the screenshot you provided. Could you upload it
   somewhere like in Google Drive that we can see more easily?
 *  [yen0727](https://wordpress.org/support/users/yen0727/)
 * (@yen0727)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/error-undefined-title_text/#post-18857349)
 * I encountered the same problem after updating to the latest version. “PHP Warning:
   Undefined variable $title_text in D:\WebRoot\2026com\wp-content\plugins\capability-
   manager-enhanced\includes\admin.php on line 1618” .The error message is: PHP 
   Warning: Undefined variable $title_text used. The PHP version I’m using is PHP
   8.3.25. I asked Chatgpt for their response, and it was as follows:
 * Find the following line:
 * `$disabled = '';`
 * `$checked = !empty($rcaps[$cap_name]) ? 'checked' : '';`
 * Change it to:
 * `$title_text = '';`
 * `$disabled = '';`
 * `$checked = !empty($rcaps[$cap_name]) ? 'checked' : '';`
 * In other words, add one more line:
 * `$title_text = '';`
 * I hope this bug can be fixed as soon as possible; I don’t want to have to manually
   fix it every time I add a new website.
    -  This reply was modified 1 month, 2 weeks ago by [yen0727](https://wordpress.org/support/users/yen0727/).
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/error-undefined-title_text/#post-18857778)
 * [@yen0727](https://wordpress.org/support/users/yen0727/) Can you test this beta
   version to see if it solves the issue? [https://app.box.com/s/c7a03cip0jabiujwvw3gkh0wulqsoizd](https://app.box.com/s/c7a03cip0jabiujwvw3gkh0wulqsoizd)
 *  [yen0727](https://wordpress.org/support/users/yen0727/)
 * (@yen0727)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/error-undefined-title_text/#post-18859338)
 * [@stevejburge](https://wordpress.org/support/users/stevejburge/) Yes, it’s fixed.
   It’s that simple. Just ask ChatGPT and you’ll know how to fix it.

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

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

 * ![](https://ps.w.org/capability-manager-enhanced/assets/icon-256x256.png?rev=
   3408171)
 * [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/)

 * 6 replies
 * 4 participants
 * Last reply from: [yen0727](https://wordpress.org/support/users/yen0727/)
 * Last activity: [1 month, 2 weeks ago](https://wordpress.org/support/topic/error-undefined-title_text/#post-18859338)
 * Status: resolved