When I try to add a new route to my router, I got this weird error:
preg_match(): Compilation failed: two named subpatterns have the same name at offset 39
I've already checked my router for double routes, changed the route name but it doesn't work.
This is my route:
Route::resource('/visitor/:id', 'Visitors\Controllers\EditVisitorController')
Does anybody know that this problem could be?