Closed ALTELMA closed 4 years ago
Anyone can help me?
Not really sure, I recommend switching to Laravel, as Lumen is not overly supported.
I already fix my issue now. Root cause come from legacy app build by Lumen 5.2 and put addFotmat in bootstrap file. It works on 5.2, but in 6.x should put in any servicr provider instead.
Anyway, in bootstrap file should register service provider from dingo before service provider contains addFotmat.
Actual Behaviour
I try to upgrade the version of the lumen from 5.2 to 6.0, now I struggle with a custom response. I use the same code from the old version, but always got an error message like below.
I try google to find a way to What I miss or do wrong steps.
Expected Behaviour
The custom response should work the same code before.
Steps to Reproduce
I put this one in bootstrap/app.php
Look like this config not load in the controller as well. When I put it in controller working.
Please help me to suggest :)