refs #9952 , fixes add participant error.
Minor fixes for warning of php5.4