1 verses of the Douay-Rheims Bible (Challoner) have both "having" and "wondered".
John 7:15 And the Jews wondered, saying: How doth this man know letters, having never learned?
In other translations: YLT Darby