can you post the code ...
maybe you did not defined route for post request
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
In EPISODE 19 The PHP Practitioner: Forms, Request Types, and Routing I get to 9:44 right after var_dump($router->routes); is added to routes.php. The array is dumped to the page as expected but, after the last item in the array I get the error: "Fatal error: Uncaught Exception: No route defined for this URI. in /home/lanebrun/public_html/core/Router.php:34 Stack trace: #0 /home/lanebrun/public_html/index.php(10): Router->direct('') #1 {main} thrown in /home/lanebrun/public_html/core/Router.php on line 34" I have deleted all code written in this episode, verified everything is working and followed the video 2 additional times and get the same results. What am I missing or over looking?
Please or to participate in this conversation.