Fixed php notices connected with missing arguments.