在laravel 5.4中调用未定义的方法Illuminate \ Support \ Facades \ Auth :: handle()

时间:2017-07-23 11:00:57

标签: php laravel-5

我试图在我的数据库中运行插入查询然后获取 这个错误。

Call to undefined method Illuminate\Support\Facades\Auth::handle();

任何人都可以解释错误的含义

这就是我的查询。

$jobrequest = new jobrequest;

       $jobrequest->job_title = $request->job_title ;
       $jobrequest->job_describe = $request->job_describe ;
       $jobrequest->artisans = $request->artisans ;
       $jobrequest->budget = $request->budget ;
       $jobrequest->user_fullname = $request->user_fullname ;
       $jobrequest->user_mobilenum = $request->user_mobilenum ;
       $jobrequest->user_email = $request->user_email ;
       $jobrequest->user_city = $request->user_city ;
       $jobrequest->detailed_add = $request->detailed_address;


       $jobrequest->job_email = $request->user_email ;

       $jobrequest->save();
       $request->session()->flash('status', 'Task was successful!');

         return redirect()->route('Views');

0 个答案:

没有答案