• Hi everyone,

    I hope someone can help me, I have a WordPress site and in my debug log I am constantly seeing the PHP Notice that there is an undefined index of 00 in locale.php within the core installation of WordPress.

    From what I can gather it is referencing a function which works out a month so when it is passed a value of 00 it cannot relate a month.

    Due to the notice not being specific I am struggling to fix it so am wondering if somebody has had the same issue or whether they could point me in some directions to start looking?

    Thanks!
    Gary

Viewing 11 replies - 1 through 11 (of 11 total)
  • Me too. Any help?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    tango: Please paste the ENTIRE error message

    david: Please follow along, but if you have questons, please start your own suppor thread. It’s unlikely you have exactly the same problem.

    Ok, here’s the error message:

    PHP Notice: Undefined index: 00 in /[redacted]/hyperorg.com/html/[redacted]/wp-includes/locale.php on line 300

    Thanks.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    hmmm… I was hoping there’d be a “called from” part of that. So we have to use the big ugly testing methdodology

    Please disable *all* plugins and change theme to twentysixteen. Did the problem go away?

    If so, re-enable things one at a time until you can see what’s causing the error.

    If not, please let me know and we’ll try something else.

    I’ve already disabled all plugins. I’ve also tried swapping in a fresh copy of wp-admin. At the moment I’m swapping in a new wp-includes. I’ll let you know if that works. Until then I can’t change themes, but I’ll give that a try too.

    Thanks for your help with this.

    Nope, the new fresh version of wp-includes didn’t stop the error msg.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It takes 30 seconds to activate twentysixteen, see if the problem is gone, then re-activate the original theme ??

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    some stuff that might be relevant:

    https://core.trac.www.ads-software.com/ticket/19751 –> implies a month of 0 is being passed to a date routine

    https://teamtreehouse.com/community/how-to-fix-wordpress-debug-php-notice-undefined-index-00-in-localephp –> implies an invalid / corrupted date on a post

    Generally, it means some bad input someplace

    Installed TwentySixteen (fresh copy). I still get the error ??

    My mistake! I installed but did not activate that theme. Now that I’ve activated it, I do NOT get the error.

    Unfortunately, the theme I’m using is largely hand-rolled. I am not good at CSS. It has some plug-ins/widgets. I wonder if they’re the problem. I’ll try turning them off one by one.

    Thanks very much!!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It’s not a CSS issue — someplace you’re passing something a bad value. Sorry, but it’s hard to be more specific than that. Try looking every place you handle dates

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Undefined Index 00 : PHP Notice’ is closed to new replies.