Closed babanoregrety2k closed 6 years ago
If you are not using a reverse proxy in your environment, you can comment out the Trust proxies declaration in the Kernel.php for the global middleware setting. I don't use Laragon so I'm not sure why it's throwing the error yet.
See commit 011c2b6b5501b437e47ee22fbf4fc3ed6f2f5fc3 for fix.
Thanks Dr. Shihjay I will try out tomorrow. Thanks for your quick response On Jul 9, 2018 18:19, "Michael Shihjay Chen, MD" notifications@github.com wrote:If you are not using a reverse proxy in your environment, you can comment out the Trust proxies declaration in the Kernel.php for the global middleware setting. I don't use Laragon so I'm not sure why it's throwing the error yet.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
I tried to run this code in my Laragon environment and am getting this issue. Please what is the solution
"Declaration of App\Http\Middleware\TrustProxies::handle($request, Closure $next) should be compatible with Fideloper\Proxy\TrustProxies::handle(Illuminate\Http\Request $request, Closure $next) ◀"