simple-php-router icon indicating copy to clipboard operation
simple-php-router copied to clipboard

It's throwing an error when add // for the domain URL like https://example.com//

Open usman342 opened this issue 10 months ago • 0 comments

Fatal error: Uncaught Error: Typed property Pecee\SimpleRouter\Router::$request must not be accessed before initialization in /vendor/pecee/simple-router/src/Pecee/SimpleRouter/Router.php:221 Stack trace: #0 /vendor/pecee/simple-router/src/Pecee/SimpleRouter/Router.php(295): Pecee\SimpleRouter\Router->processRoutes() #1 /vendor/pecee/simple-router/src/Pecee/SimpleRouter/Router.php(337): Pecee\SimpleRouter\Router->loadRoutes() #2 /vendor/pecee/simple-router/src/Pecee/SimpleRouter/SimpleRouter.php(69): #6 {main} thrown in /vendor/pecee/simple-router/src/Pecee/SimpleRouter/Router.php on line 221

usman342 avatar Apr 17 '24 01:04 usman342