Avoid PHP Notices by making sure array members are set & explicitly assigning to variables.