Hey,
I still get Not found error on Slim version 4. Version 3 works perfectly.
My server is running on:
EasyPHP server with PHP version 7.1.3 (https://www.easyphp.org/easyphp-devserver.php)
Full error:
Slim Application Error
The application could not run because of the following error:
Details
Type: Slim\Exception\HttpNotFoundException
Code: 404
Message: Not found.
File: D:\personal\slim-learning\test-1\vendor\slim\slim\Slim\Middleware\RoutingMiddleware.php
Line: 82
Trace
#0 D:\personal\slim-learning\test-1\vendor\slim\slim\Slim\Routing\RouteRunner.php(52): Slim\Middleware\RoutingMiddleware->performRouting(Object(Slim\Psr7\Request))
#1 D:\personal\slim-learning\test-1\vendor\slim\slim\Slim\Middleware\ErrorMiddleware.php(89): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request))
#2 D:\personal\slim-learning\test-1\vendor\slim\slim\Slim\MiddlewareDispatcher.php(123): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner))
#3 D:\personal\slim-learning\test-1\vendor\slim\slim\Slim\MiddlewareDispatcher.php(64): class@anonymous->handle(Object(Slim\Psr7\Request))
#4 D:\personal\slim-learning\test-1\vendor\slim\slim\Slim\App.php(136): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request))
#5 D:\personal\slim-learning\test-1\vendor\slim\slim\Slim\App.php(120): Slim\App->handle(Object(Slim\Psr7\Request))
#6 D:\personal\slim-learning\test-1\index.php(27): Slim\App->run()
#7 {main}
Where can be a problem?