I copied over my live site to be a test board on another URL. I am getting this error on the front end when I connect to the backup database that I imported.
An undefined index error indicates a template is trying to utilise a variable which isn't available to that template, possibly due to an outdated template.
It can also happen when upgrading an add-on.