I'm (kind of) following this tutorial for MVC from youtube https://www.youtube.com/watch?v=KLEuiLf_hDQ&list=PLfdtiltiRHWGXVHXX09fxXDi-DqInchFD&index=5
And I've got a problem around 3:30. It can't find Home class, BUT if I change his 26th line from
$this->controller = new $this->controller;
to
$this->controller = new Home();
it works perfectly fine. Also, If I
echo $this->controller;
it shows "Home". I have absolutely no idea what went wrong. If it helps I'm using it for a little different project which is using namespaces.