The user Nick_Chomey reports an issue where WordPress posts lose their link to Discourse after publishing, even though the data appears to be stored in wp_postmeta. The problem seems sporadic and may be related to previously linking and unlinking posts. Despite clearing metadata and reinstalling the plugin, the issue persists. angus suggests checking the browser console for client-side exceptions, as the data appears to be created correctly but not displayed. The user later notes that the links reappear after a refresh, possibly due to caching or cookies, and will monitor for recurrence. Nick_Chomey provides a screen recording and a screenshot of the issue, while Nick_Chomey speculates about other potential storage locations for references.
I have many posts that already exist that I’d like to Publish to Discourse. When I do so, it works, but when I reload the post it no longer recognizes the link. If I re-link it, the same thing happens. It also seems to be somewhat sporadic - sometimes it happens for both posts and custom post types, sometimes not. Disabling all other plugins doesn’t help.
All I can think of is that the posts that I’m having trouble with seem to be ones that I’ve linked and de-linked a couple times. I have cleared traces from wp_postmeta, and even re-installed/connected WP Discourse, but are there other tables or settings that store references?
Could you attempt the same thing again, but when you refresh the page keep your browser console open and look for exceptions. The data is being created normally however it’s not showing up in your UI which suggests a client-side exception.