I have an issue on a prod server that I don't have in local. Laravel send me an error which says that there is a header issue. I think this is an Apache issue.
I work on my local machine with Mamp. Laravel is using OAuth with Laravel Passport. I've tried on my local machine and it's working. I'm running on a Apache server too.
On my production server, as soon as I want to login on my application, I have this error :
ERROR 500 : InvalidArgumentException, Invalid header value: must be a string or array of strings; cannot be an empty array.
And it's in MessageTrait.php line 389
from Laravel Zendframwork vendor.
Maybe it's just a module on the server ?
Thanks