suppress error msg caused by php bug

please review @DeepDiver1975 @PVince81