We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Calling a controller method:
public function edit($id = NULL) {
without specifying the optional parameter $id like in http://localsite/admin/article/edit
throws ErrorException with the white screen of death if the debug bar is active.
The same error was reported in the forum by user qury https://forum.codeigniter.com/thread-67555.html
This is what I've been able to debug so far...
Undefined offset: 0 in BASEPATH/Debug/Toolbar/Collectors/Routes.php line 99
var_dump($rawParams); array(1) { [0]=> object(ReflectionParameter)#308 (1) { ["name"]=> string(2) "id" } }
var_dump($rawParams);
var_dump($router->params()); array(0)
var_dump($router->params());
The text was updated successfully, but these errors were encountered:
How is your route defined?
Sorry, something went wrong.
0364a8a
No branches or pull requests
Calling a controller method:
public function edit($id = NULL) {
without specifying the optional parameter $id like in http://localsite/admin/article/edit
throws ErrorException with the white screen of death if the debug bar is active.
The same error was reported in the forum by user qury
https://forum.codeigniter.com/thread-67555.html
This is what I've been able to debug so far...
Undefined offset: 0 in
BASEPATH/Debug/Toolbar/Collectors/Routes.php line 99
var_dump($rawParams);
array(1) {
[0]=> object(ReflectionParameter)#308 (1) {
["name"]=> string(2) "id" }
}
var_dump($router->params());
array(0)
The text was updated successfully, but these errors were encountered: