Issues with category selection in WP-Discourse

AI 生成的摘要

Users HAWK and ggaines1 reported issues with WP-Discourse v0.6.6 not pulling categories from Discourse, displaying the error “There was an error returning the category list from Discourse” ggaines1. techAPJ attempted to reproduce the issue but succeeded on a fresh WordPress install, offering to investigate further with admin access. simon identified the root cause as misconfiguration: users must ensure they’re connected to Discourse (visible in WP Discourse Connection settings), use an All Users API Key (not a user-specific one), and set the Publishing Username to system (the default Discourse system user). Following these steps, ggaines1 confirmed the fix worked after creating a new API key and updating the username to system. The issue appears resolved for the reporter, though HAWK humorously noted they couldn’t recall past details to assist further.

I’m having real trouble with the latest version of WP-Discourse (0.6.6)
It’s not pulling the categories across from Discourse and nothing I do seems to change that.

Help!

I am looking into this issue now.

Hi @HAWK,

I am unable to repro this issue on a fresh WP instance I just set up:

If you can PM me your WP Admin credentials I can check why you are having this issue.

你解决这个问题了吗?
我也遇到了同样的错误。
无法拉取我的分类列表。
也无法在 WordPress 帖子页面上发布论坛邀请。
我对这方面不太擅长,谢谢,Greg。

我连昨晚吃了什么都记不清了,更别提四年前发生的事了!

如果你能提供更多细节,我们就能展开调查。 :slight_smile:

抱歉,我看到四月了
我已在 WordPress 站点加载了 wp-discourse 插件
我对技术不太熟悉
也记不太清了,哈哈!No Load Categories|421x500

尝试将帖子发布到特定分类

我已检查用户名,两者匹配

谢谢,Greg

截图中的错误消息“从 Discourse 返回类别列表时出错”表明插件配置存在问题。如果您进入 WP Discourse 连接设置选项卡,是否看到显示“您已连接到 Discourse

这样我就连上了

我创建了一个新密钥

将名称改为 systm,现在已连接,谢谢,Greg