I just installed Moodle on my mac using docker and ddev ( https://ddev.readthedocs.io/en/stable/users/quickstart/#moodle ) and it seems to function in that I can browse the administration pages, visit the page defined by the greetings plugin etc but when I try to edit the code in my IDE (VS Code) the reference to `context_system
` is underlined in red and the message I get from the intelephense plug-in is "Undefined type 'context_system'."
I've checked other instances of context_system::instance()
and that class cannot be found.
I reinstalled the codebase with a downloaded version of Moodle 4.4.3 and updated the database but the context_system
class is still missing. I'm still working my way through the basic tutorials and I don't want to get too deeply into it without fixing this fundamental issue.
Any ideas?