[1.6.x] Fixed #22912 -- Warned about a common mistake in tutorial 5.

Backport of 1e8411259f from master