After the last upgrade to 4.0.0-alpha1 (Version 0.11.8-4495e75), my main application does not work anymore and returns a "Wrong number of parameters" error message.
It worked before the upgrade. I start my application just like in the Basic Tutorial:
//Create the main application
$application = new \Phalcon\Mvc\Application($di);
try {
// Handle the request
$response = $application->handle(); //This guy stopped working
$response->send();
} catch (\Exception $e) {
echo $e->getMessage();
}
It looks like handle()
now wants a parameter (the uri?) If I set one, it seems to work but then my website would only display a single url (the baseUri) regardless of which parameter I set in the handle()
function.
Any idea ?