Hey Thomas, my initial thought is that the error is occurring because the post is being sent to Discourse twice and the HTML issue is separate. Let’s start with the double-publishing issue. Could you confirm a few things for me:
- Where are you seeing this error? In the Logs Viewer in the WP Discourse plugin?
- Do you see this on all posts being published to Discourse or only some?
- Are you scheduling the posts?
- Which Wordpress composer are you using to compose the posts (classic or gutenberg)?
- Are you using any other theme or plugin or customisation that affects the way you post in Wordpress?