Howard Miller的帖子

Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
Firstly, the core\ namespace seems to be spurious - that identifies the legitimate call to the reset function.

Please go to Site administration > Server > PHP Info. Show us...

* The logo at the top that confirms the PHP version.
* The lines in the core table for 'disabled_classes' and 'disabled_functions'

Effectively, I am asking you to prove beyond doubt that you are running the appropriate version of Moodle and that the function hasn't been blocked. One of those, is the only reasonable explanation I can think of.

In any case, it's 99% that this is not Moodle - it's your setup at fault.
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
That's still not the complete trace. We need to establish where this function is being called from.

block_recent_activity does NOT call the function but that does not 100% prove that it isn't calling something else that does.
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
What threw me was the core\ in front of the function call. It's like the code is trying to call something other than the actual PHP function. Although, I may be overthinking it.