WordPress.org

Support

Support » How-To and Troubleshooting » Undefined offset: 1 in theme.php

Undefined offset: 1 in theme.php

  • Started getting the following messages in quite a number of themes (appear on dashboard):

    Notice: Undefined offset: 1 in /home/mywong/public_html/wp-includes/theme.php on line 212

    Notice: Undefined offset: 1 in /home/mywong/public_html/wp-includes/theme.php on line 213

    Haven’t touched these files nor made any changes to theme lately.

    I switched back to default theme and the errors are still there.

    When I try an automatic plugin upgrade, I get : undefined index on file.php (on lines 662, 663, 664, 667 and 668).

    I did turn debug on:
    define(‘WP_DEBUG’, true);

    Are these just warning messages I can safely ignore?

Viewing 1 replies (of 1 total)
  • I’m getting this error as well (I just transferred a site from hosted to local). I can’t figure out what’s wrong. Anyone know?

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined offset: 1 in theme.php’ is closed to new replies.