More PHP Notices removed (part 40)