I'm getting this error after posting the data.
Route;
Route::post('/classified/location', 'ClassifiedController@locationPost')->name('location-post');
Form;
<form class="form" method="post" action="/classified/location">
@csrf
Please check your route file to make sure that you haven't defined the same route twice, in that case later will replace the prior so make sure route definition is unique and exactly once.
Also if you anyway are naming your routes then use the name itself to target it so use:
<form class="form" method="post" action="{{ route('location-post') }}">
Also, make sure you don't define two or more routes with the same name.
Your form tag like that:
<form class="form" method="post" action="{{route('location-post')}}">
OR
<form class="form" method="post" action="{{url('/classified/location')}}">
php artisan route:clear?