fix(misc): Correct some deprecated/notice (refs #4763)
fix(misc): Correct notice getDbId (refs #4763)
Merge pull request #1163 from Eric-Brison/3.3-I4763

fix(misc): Correct some deprecated/notice (refs #4763)