Dispatcher Error after Upgrade to 2.0.0

I've upgraded my Phalcon Application from 1.3.4 to 2.0.0 yesterday and right after opening my site i got this Error:

Call to undefined method Phalcon\Mvc\Dispatcher::gethandlername()

I've traced the bug to this line:

$controllerClass = $dispatcher->getControllerClass();

$dispatcher is an instance of \Phalcon\Mvc\Dispatcher When i try to call the method "getControllerClass" i got an Exception saying that the method "gethandlername" is not defined.

I've updated the devtools Helper with the IDE Support and refreshed the integration in PhpStorm to be sure that this method does not changed.

What can i do to fix this bug?

Could you please post this on Github?

Did you try :



Yeah its exactly the same Problem.

/** @var \Phalcon\Mvc\Dispatcher $dispatcher */
$dispatcher = $this->dispatcher;

Thats the line where i define the $dispatcher variable