[bug][32642] Warning if string is passed as $attrib. Fixes #3578.