catching php not existing error