Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router.php on Project Command #1374

Closed
caleuanhopkins opened this issue Nov 19, 2019 · 1 comment
Closed

Router.php on Project Command #1374

caleuanhopkins opened this issue Nov 19, 2019 · 1 comment
Milestone

Comments

@caleuanhopkins
Copy link
Contributor

Devtools: v4 (pulled from 4.0.x branch)
Phalcon: v4 RC-3

I ran command project and project generated find but config/router.phg is missing the $_SERVER["REQUEST_URI"] variable in $router->handle();. Without the server variable the following error is returned:

Wrong number of parameters
#0 /phalcon4/app/config/router.php(13): Phalcon\Mvc\Router->handle()
#1 /phalcon4/public/index.php(20): include('/phal...')
#2 {main}

See: https://docs.phalcon.io/4.0/en/routing

@Jeckerson
Copy link
Member

Merged. Didn't noticed that one. Thank you!

@Jeckerson Jeckerson added this to the 4.0.0 milestone Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants