I just made a clean and fresh install with xampp, and i still got the error.
To make it happen, do this:
-Search an employee, any that you have
-When it shows you the result, don’t open the employee nor do something, just click the search button again (it will still have the name that you searched). And again. And again.
If you copy/paste the url, you will notice that its really long, and its how i described before.
This is a pain in the ass when for example someone has to search 5+ employees and uses the search button and opens the profile of the employee in a new tab, After the error, will always have to refresh the page… so its time wasted