The result was an empty []
After some hunting I found that the product[key] gets too long and is filtered by Suhosin PHP protection.
This will give an empty array thus
Code: Select all
if (!empty($this->request->post['quantity']))
The standard Suhosin settings for the length is 64 but one product_id + one recurring_id base_encoded and serialized makes up 82 chars.
Code: Select all
var_dump(strlen('quantity[YToyOntzOjEwOiJwcm9kdWN0X2lkIjtpOjUxO3M6MTI6InJlY3VycmluZ19pZCI7aToxO30=]')); //82


Add the following lines to your php.ini
Code: Select all
suhosin.post.max_array_index_length = 256;
suhosin.post.max_name_length = 256;
suhosin.post.max_array_depth = 256;
suhosin.request.max_array_index_length = 256;
suhosin.request.max_varname_length = 256;
suhosin.request.max_array_depth = 256;
You can try to add it to your php.ini in the catalog part or, depending on your hosting create a .user.ini (there's a dot in front of user!)
I hope this will be of any help. I read some people really moved hosts on this matter but it's an easy fix!
https://suhosin.org/stories/configuration.html#id82