More PHP Notices removed (part 20) + fixed SQL Error caused by one of the previous PHP Notices removad commits