Object of type Illuminate\\Http\\Request is not callable, Laravel 8 upload file

5k Views Asked by At

Console Log Error

UnitController

is there someone who can help me to solve this problem?

1

There are 1 best solutions below

0
BlackPearl On

You can use the Request in the following ways:

request('lastName')
$request->lastName

In line 65 of the attached image, change $request() to request(). Simply remove the dollar sign.