WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Debug Notice Undefined variable: pluralTitle

[Resolved] Debug Notice Undefined variable: pluralTitle

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mat Lipe

    @mat-lipe

    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.

    Hello Mat,

    It looks like $pluralTitle is actually referenced on line 158:

    'menu_name' => $pluralTitle

    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

    Also, line 141 should be corrected to $pluralTitle

    'name'                       => $puralTitle,
    Plugin Author Mat Lipe

    @mat-lipe

    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.

    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 ‘[Resolved] Debug Notice Undefined variable: pluralTitle’ is closed to new replies.