How to connect my wordpress site to discourse forum

That seems pretty self explanatory. You must configure smtp.

It’s hard to say from that message, but my guess is that you should upgrade to 17. 06.02. I think 17.03.01 should work.