shihjay2 / nosh2

NOSH ChartingSystem is an electronic health record system designed exclusively for doctors and patients. This is a new mobile-friendly version that is now based off of the Laravel PHP framework and jQuery. NOSH has FHIR, Bluebutton, ICD-10, GoodRX API, RXNorm API, Phaxio, and UMA support.
Other
74 stars 53 forks source link

Issue with TrustProxies #112

Closed babanoregrety2k closed 6 years ago

babanoregrety2k commented 6 years ago

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) ◀"

shihjay2 commented 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.

shihjay2 commented 6 years ago

See commit 011c2b6b5501b437e47ee22fbf4fc3ed6f2f5fc3 for fix.

babanoregrety2k commented 5 years ago

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.