Page model throws an error in Kirby 4

consider adding the code to retrieve and set the $this->children within the children() method in the model for a huge performance boost on repeated calls.