ALERT – configured POST variable limit exceeded…this error kept poping in my server’s logs all morning, and – what a strange coincidence – an application stopped working in that exact time frame 🙂
Well, upon investigation, this exception is thrown by suhosin when a client application sends too many variables to the server. In my case, via HTTP POST.
The solution is simple, just increase the maximum number of allowed variables in php.ini. If you don’t have a suhosin section, just create one. Like such:
suhosin.request.max_vars = 1000
suhosin.post.max_vars = 1000