Fixing bugs missed from E_NOTICE being suppressed