Wednesday, September 2, 2015

[Laraval5][Resolved] Non-static method Illuminate\Http\Request::all() should not be called statically, assuming $this from incompatible context

Since i used the incorrect Request class (I work with FormFacade class), i got this error message:
Non-static method Illuminate\Http\Request::all() should not be called statically, assuming $this from incompatible context

use "use Illuminate\Support\Facades\Request;" replace default Request class:

use Illuminate\Support\Facades\Request;



Reference:
http://stackoverflow.com/questions/28413985/laravel-5-illuminate-http-request-has-method-not-allowing-static-call

No comments :

Post a Comment