undefined index

undefined index (removing twentytwelve-navigation script)