Wp 4.1.1, Suhosin, Adding Menu Items Fails
-
Hi
I have been running a bunch of wordpress installs on a lamp stack for a bit.
Environment:
Apache/2.2.29
PHP 5.3.29 (cli) (built: Aug 20 2014 16:41:34)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, by eAccelerator
with Suhosin v0.9.37-dev, Copyright (c) 2007-2014, by SektionEins GmbHThe issue:
After the update to 4.1.1 (and possibly during 4.1, I did not try to add new menu items at that time) I am unable to add menu items via the menu editorI have changed the global php.ini to include the normal max_var overrides for both suhosin and php:
suhosin.request.max_vars = 9000
suhosin.post.max_vars = 9000
max_input_vars = 9000The recommended values were 3000, but in case I opened them up wider. This made no change. I was sure to restart apache after my config changes.
I know it’s a suhosin problem, because when I disable suhosin, the menu saves perfectly.
Does anyone out there have some suggestions for new suhosin overrides to try?
Is there a thread I’ve missed? Or somewhere to find suggested, compatible settings for Suhosin?
When WP debug is enabled, the error I get is:
Uncaught Error: Syntax error, unrecognized expression: Notice: Undefined index: menu-item in {path}wp-admin/includes/ajax-actions.php on line 1075
Thanks
./Ben
- The topic ‘Wp 4.1.1, Suhosin, Adding Menu Items Fails’ is closed to new replies.