-
When I switch from APP_ENV=dev to prod, I get an empty response with undefine data from my controller JsonResponse. I am on a track to fix this but need help: When using postman, the request to my controller give me 2 things: 1: <script> Sfdump = window.Sfdump || (function (doc) ...... </script>=> it' what I can read when doing console.log(response); To resume on dev I have an objet with my data ( {dataClubInfo: {…}} ) and in prod I get no data but :<script> Sfdump = window.Sfdump ) Would someone be able to help me ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
that means you left the |
Beta Was this translation helpful? Give feedback.
that means you left the
dump(..)
statement before the returning response or somewhere else, try to remove it