用户登录成功后 Moodle 无效响应

moodle invalid response after successful userlogin

我在 Moodle 中遇到问题,用户无法登录,所以我更改了数据库排序规则,用户现在可以登录仪表板,但我也遇到了这个错误。

现在用户可以登录了,但是这个弹出错误来了。

invalidresponse
Invalid response value detected
File: /lib/externallib.php
Line: 425
Stack trace:
Error in response - Missing following required key in a single structure: tourconfig
Error code: invalidresponse
* line 425 of /lib/externallib.php: invalid_response_exception thrown
* line 250 of /lib/externallib.php: call to external_api::clean_returnvalue()
* line 59 of /lib/ajax/service.php: call to external_api::call_external_function()

对我来说,用户无法登录 Moodle,是 dmlwrite exception。所以我更改了用户 table 的数据库排序规则,并且在用户登录后它开始抛出错误。

我们 运行 整个数字海洋设置,由于 CPU 和内存中的一些问题,我回收了我的整个 kubernetes 集群并自动解决了错误。

@adrian-sărmaş 建议清除缓存并为我尝试一下,也许这只是缓存的问题。