Hi all,
Since a few months I've been using CI4 for some projects and, in all honesty, Im very satisfied.
However, I'm struggling with an issue I just can't figure out.
When I navigate to a page in the application using regular links all works fine. The routes are initializing perfectly. When I do a post to the same page, the post is received and processed properly but when rendering the page, the routes are seemingly unknown.
Please find below the message i get which seems to say that the routes are not valid. (but like i said, when i navigate to the page with regular links, the routes are initialized perfectly.
----------------------------------------------------------------------------------------------
Unable to locate a valid route.
BASEPATH/Router\RouteCollection.php at line
950
Code:
throw new \InvalidArgumentException('Unable to locate a valid route.');
----------------------------------------------------------------------------------------------