0

On opening a certain product page, we are getting the following error

"exception":"[object] (Zend\\Http\\Header\\Exception\\InvalidArgumentException(code: 0): Invalid header value detected at /app/6l7tzyfknugxk/vendor/zendframework/zend-http/src/Header/GenericHeader.php:53)"

We cannot find anything wrong in the product info in the admin.

2
  • Did you install any new modules? This can probably cause problems, for example an older version of LiteMage Jun 15 at 10:34
  • We don't have Litemage installed Jun 15 at 10:37
1

Check the names of your products, maybe it contains special characters, or your header in the product contains some special characters.

2
  • Is there any way to debug this? As far as I know headers are validated in Zend's GenericHeader class. But we cannot override it to add logs. Jun 16 at 6:15
  • We just removed all the content of the product and added back and it resolved the issue. I think there were invisible spaces added while creating the product. For someone who is facing this I recommend to create the product again, Jun 16 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.