Hi Why I am getting this error? installed phalcon-4.0 PHP 7.4 If I use phalcon 3.4 than I get "httpd.exe entry point not found " error.
Error Wrong number of parameters
0 D:\xampp\htdocs\phalcon-todo\app\config\router.php(28): Phalcon\Mvc\Router->handle()
1 D:\xampp\htdocs\phalcon-todo\public\index.php(126): include('D:\xampp\htdocs...')
2 {main}
Router.php code
$router = $di->getRouter();
// Default route $router->add('/', ['controller' => 'index', 'action' => 'index']); $router->handle();
Any help. Thanks