It seems like you call parent on a different method (__construct() instead of dispatchToRouter()). Are you sure this is correct? If so, you might want to change this to $this->__construct().
This check looks for a call to a parent method whose name is different than
the method from which it is called.
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: