1.5.10 - Enable/Disable Listener Security Error

Snog

Well-known member
When enabling or disabling listeners from the main development listener list page, a security error happens. You have to go into the listener itself to enable or disable it.
 
If you have a lot of listeners, and therefore a lot of inputs being submitted, you may well be hitting the max_input_vars limit in PHP.

Increase this a suitable amount and the issue should go away.
 
For each event listener there is two inputs (one hidden, and then the checkbox itself). Then there is the _xfToken (which if missing causes the security error). If you have 500 or so code event listeners then you will exceed the limit.
 
For each event listener there is two inputs (one hidden, and then the checkbox itself). Then there is the _xfToken (which if missing causes the security error). If you have 500 or so code event listeners then you will exceed the limit.
That explains why I've been hitting it.

At least it doesn't cause dataloss which can happen in Wordpress!
 
Yeah, after a couple of new add-ons and a couple of installs of other add-ons for testing I hit 576 listeners. I never thought of the x2 factor which means 1152 variables being passed not including the token.
 
Top Bottom