Hi. I’ve installed a fresh copy of Discourse 3.4.0 (4abee26a32) and WordPress 6.7.2 on my local PC for testing and I’m unable to get the comments to sync from Discourse to WordPress (though the initial post does sync from WordPress to Discourse). My issue seems to be very similar to the much older report linked above. Could this be a regression?
I’ve enabled all the logging, but this is all I see in the logs of my WordPress instance:
The count of responses increments immediately, but I do not see the actual comments. I’m also not seeing any errors in the system logs at /var/log/php-fpm/www-error.log.
Does anyone have any ideas about what might be causing this problem or how to go about debugging it? Thanks.
At some point keeping Wordpress commenting enabled did exactly that. It was at least a year ago, and I never checked if that behaviour has changed or if it was a theme dependent question.
I could, but that wasn’t any issue after I disabled Wordpress commenting. OP’s issue is that Wordpress commenting overdrives Discourse. And there can be an easy solution too — that post is never linked to Discourse
I see. I think your issue may have been different from @Gregory_Bartholomew’s. Let’s see if we can get some specificity on his setup and get to the bottom of his issue. Each issue has to be treated anew.
Well, I don’t have any ongoing issues, because in any situation I don’t allow native commenting of Wordpress. Discourse takes care of that totally nice. My thoughs were just a weak solution idea, and leads to configuration problems
Are you saying I need to disable WordPress’ built-in comment system somehow?
It’s currently the default twentytwentyfive them.
Yes it is. Also (but probably unrelated), there was a small bug in the default them that required me to load and re-save the index.html file. The problem and workaround is documented here.
Other than the above workaround to fix an apparently unrelated glitch, no, I haven’t made any customizations to the theme.
One slight inaccuracy I notice in the meta output is that I’m not using “MySQL” but rather its fork “MariaDB” (mariadb-server-10.11.10-1.fc41.x86_64). Also, I have the php-mysqlnd package installed (php-mysqlnd-8.3.17-1.fc41.x86_64).
Also, the emoji doesn’t seem to be showing correctly on the Discourse side either, but I’m less concerned with that because I don’t admin the production Discourse instance that I hope to eventually use.
Edit: Nevermind about the avatars problem. It looks like it might be at least partly due to the way my environment is setup. I’m pointing WordPress at port 3000, but the avatars are resolving to http://localhost:4200/letter_avatar_proxy/v4/letter/.... I’ll probably just disable those anyway.