Explicitly check that values for notifying are strings.

mb_detect_encoding() was barfing on our non-array (implements
    ArrayAccess) and a couple of other non-string values that were
floating around.