Support » Fixing WordPress » Undefined index and undefined offset

  • I thought I’d seen some update yesterday or today that said the undefined index problem was solved. But now I can’t remember where I saw that. I thought I’d just finished taking care of all my PHP bug notices but I started getting these error messages in WordPress DEBUG:

    [30-Apr-2017 18:19:28 UTC] PHP Notice: Undefined offset: 1 in /home/baee_2012/dev.baeecorp.org/wp-admin/includes/dashboard.php on line 1227
    [30-Apr-2017 18:25:46 UTC] PHP Notice: Undefined index: author_noncename in /home/baee_2012/dev.baeecorp.org/wp-content/plugins/custom-author-byline/custom-author-byline.php on line 80

    What do I do to fix these?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • That looks like a problem with one of your plugins or themes. The normal recommendation is to disable all plugins, and set your theme to a default WordPress theme e.g. 2017, and then see if you get the error.

    From the error message above I can see that you are also getting an error in the plugin custom-author-byline. I would start by turning this off and see if you still get a problem.

    Undefined offset: 1 on line 1227 of dashboard.php is something that happens to me to and I’m pretty sure it’s actually a bug in a core, unrelated to any plugins

    • This reply was modified 2 years, 2 months ago by  Igor Yavych.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined index and undefined offset’ is closed to new replies.