Tag Archives: assuming $this from incompatible context

$request->input() not working in laravel

getting the below error while using the $request->input(‘f_name’); ErrorException in Controller.php : Non-static method Symfony\Component\HttpFoundation\Request::get() should not be called statically, assuming $this from incompatible context this is because of use Illuminate\Support\Facades\Request; if we use use Illuminate\Http\Request;, then $request->input will work