It's actually not an error but a notice. There is a way you can setup the php.ini to shut off notices. I have this on my remote server, but on my test server I have it turned on, just because it helps practice better coding habits.

If you're interested in finding knowing how to shut it off, let us know. I would encourage leaving it on, but I just thought I'd let you know there's the option.