I have middleware which logs data for me. In the kernel.php it's the last index of the protected $middleware array.
It's been running now for a year+, without issue, however recently it has thrown an error which leads back to $request->method(); returning the string __CONSTRUCT
IP logged is our own IP as well.
I'm going to review any changes we made, to see if I can track what's causing this, but anyone familiar with middleware knowing what and when might cause this?
I have created another controller which I am using and calling methods off it within itself, I don't recall doing anything with the constructor of that class but again, will go through my changes.
Thanks in advance
laravel 5.7 php 7.1.17