Title: Undefined index errors
Last modified: August 20, 2016

---

# Undefined index errors

 *  [zeaks](https://wordpress.org/support/users/zeaks/)
 * (@zeaks)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/undefined-index-errors-1/)
 * I’m getting alot of undefined index errors for my theme with debug on that I’m
   trying to fix.
    Notice: Undefined index: default in /home/zeaksorg/public_html/
   test/wp-content/themes/leggero/functions.php on line 534 but there’s more than
   just that line, 574, 591, 403, 404, 448, 443 etc etc This is line 534 `$$key 
   = get_option($shortname.'_'.$key, $option['default']);`
 * I’m assuming it’s something those lines are referencing
 * This is a link to my functions file
    [http://pastebin.com/uw0f2cZq](http://pastebin.com/uw0f2cZq)
 * Any help is appreciated, thanks.

The topic ‘Undefined index errors’ is closed to new replies.

## Tags

 * [theme test](https://wordpress.org/support/topic-tag/theme-test/)
 * [undefined index](https://wordpress.org/support/topic-tag/undefined-index/)

 * 0 replies
 * 1 participant
 * Last reply from: [zeaks](https://wordpress.org/support/users/zeaks/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/undefined-index-errors-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
