refs #1: Fix php notice messages