-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: Fatal error: Cannot declare class CodeIgniter\Exceptions\PageNotFoundException #3067
Comments
@enix-app Yes, it seems a new bug in develop branch . @lonnieezell @MGatner could you looking at it? Probably caused after autoload PR #3052 /cc @mostafakhudair |
I haven't noticed it but I will see if I can reproduce tomorrow when I update a project with that new Autoload. |
UPDATE: I've been able to replicate this. Still not sure as to the root cause. |
The bug was introduced with #2958. Actual underlying issue TBD |
system/Debug/Exceptions.php, Line 308:
|
The problem is actually a collision with |
Describe the bug
This is not intentional,
I added route:
I tried in bar url:
http://localhost:8080/test/([0-9]+)
http://localhost:8080//
http://localhost:8080/test/abc
Show me an error:
CodeIgniter 4 version
development, last commit #3062 , fresh install
Affected module(s)
Exception class, Router class
Context
The text was updated successfully, but these errors were encountered: