Plugin Author
Dan
(@dangoodman)
Hi,
I can’t reproduce this issue. Could you please try to reinstall this plugin?
Plugin Author
Dan
(@dangoodman)
Resolved due to no answer
Hi,
i have the same problem!
I tried to reinstall plugin but the problem remains…
Plugin Author
Dan
(@dangoodman)
It’s not saved, right? Are other fields saved ok? What plugin and WooCommerce versions do you use?
Yes, “Extra Weight Only” field not saved but other fields yes!
I use WooCommerce 2.3.8 and version 2.6.8 of plugin…
Plugin Author
Dan
(@dangoodman)
Could you try to update WooCommerce to the latest version and check this again?
I updated WooCommerce and all others plugins but the problem remains…
All fields are saved correctly…
Plugin Author
Dan
(@dangoodman)
Thanks.
I need temporary access to your admin panel to investigate the issue. Is this possible? You can contact me directly with this form: http://www.emailmeform.com/builder/form/GoH3kP4h60pzZeCgK9xfVM.
Plugin Author
Dan
(@dangoodman)
The issue is related to Suhosin php patch. It limits maximum internal field name length to 64 symbols, by default. All fields having longer names get dropped. Extra Weight Only, Subtotal With Tax and Shipping Class Overrides have length of 65+ symbols. To fix this you need to change Suhosin config option “suhosin.post.max_name_length” to, say, 128.
I changed Suhosin config option “suhosin.post.max_name_length” to 128 but the field is not saved… why?
Plugin Author
Dan
(@dangoodman)
Did you reload php/web server after that? If so, then please try to disable suhosin temporary, to check if it affects plugin (suhosin.simulation = On).
Yes! phpinfo show “suhosin.post.max_name_length 128”.
With “suhosin.simulation = On” the field is saved correctly! but i can’t leave suhosin disabled…
How do we resolve?
Plugin Author
Dan
(@dangoodman)
Please check suhosin.request.max_varname_length option value. It should be also 128. There might be other options limiting field name length. If you are aware of any it would be good to check them also.
With suhosin.request.max_varname_length to 128 it works fine!!
Many thanks!