Title: Debug Notice Undefined variable: pluralTitle
Last modified: August 20, 2016

---

# Debug Notice Undefined variable: pluralTitle

 *  Resolved [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/)
 * I am getting a notice in debug:
 * > Notice: Undefined variable: pluralTitle in C:\xampp\htdocs\cherylshireman\wp-
   > content\plugins\simple-links\classes\simple-links-post-type-tax.php on line
   > 159
 * Plugin working though, just an FYI.
    Thanks!
 * [http://wordpress.org/extend/plugins/simple-links/](http://wordpress.org/extend/plugins/simple-links/)

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

 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/#post-3370011)
 * Hello WebEndev,
 * Which version are you using of the plugin?
    Are you using a modified version?
 * I took a look at the latest version 1.6.0 and line 159 of that file only has 
   this
 * > ),
 * Any info will help me troubleshoot. So far we have been unable to recreate the
   notice.
 * Cheers.
 *  Thread Starter [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/#post-3370012)
 * Hello Mat,
 * It looks like $pluralTitle is actually referenced on line 158:
    ` 'menu_name'
   => $pluralTitle
 *  Thread Starter [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/#post-3370013)
 * Hello Mat,
 * Ahh, I think I see the problem – typo on line 137:
 *     ```
       $puralTitle = isset( $args['pluralTitle'])? $args['pluralTitle']: $this->plural_title($title);
       ```
   
 * Should be $pluralTitle, not $puralTitle
 *  Thread Starter [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/#post-3370014)
 * Also, line 141 should be corrected to $pluralTitle
 *     ```
       'name'                       => $puralTitle,
       ```
   
 *  Plugin Author [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/#post-3370015)
 * Thank you Very much WebEndev!!
    I have implemented your fix and acknowledged 
   you in the method’s docs.
 * Version 1.6.1 should be available momentarily.
 *  Thread Starter [WebEndev](https://wordpress.org/support/users/munman/)
 * (@munman)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/#post-3370017)
 * Looking good!
 * Thanks for the very fast fix for such a small item.
 * Great plugin, thanks for your work!

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

The topic ‘Debug Notice Undefined variable: pluralTitle’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-links_3d6e81.svg)
 * [Simple Links](https://wordpress.org/plugins/simple-links/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-links/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-links/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [WebEndev](https://wordpress.org/support/users/munman/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/debug-notice-undefined-variable-pluraltitle/#post-3370017)
 * Status: resolved