Fixed notices in PHP connected with missing argument.