Hello. Little explanation of my situation: two days ago something or someone have somehow deleted all contents of the /core directory on the website I am working on. Luckily database and all other files are seem to be intact, by now I have managed to restore all of the website functionality, except the Wayfinder, which itself was installed anew and works fine, but it do not receive any output from the getChildIds modx function. I have found this function in modx.class.php and in its code I see that it uses the $resourceMap variable which, if no context specified, receives its value from $this->resourceMap
$resourceMap = !empty($context) && !empty($this->contexts[$context]->resourceMap) ? $this->contexts[$context]->resourceMap : $this->resourceMap;
$this->resourceMap is an empty array, I suppose its should not be empty, but I do not know where it is formed to debug it. If anyone knows in which file it is formed, please guide me.
I have tried to clear cashe few times, but it does not seem to be stored there.