Ok, everything was working fine with my custom search even when I installed my new theme.
But after updating filter controls in Views everything disappeared. Whenever I try to update my filter controls my META HTML shows:
[wpv-filter-start hide="false"]
[wpv-filter-controls][/wpv-filter-controls]
[wpv-filter-end]
Same thing happens when i create new Views. It doesn't save any changes.
I found that my theme "Notable" created lots of custom fields, so i reversed my theme to the previous one but the custom fields haven't disappeared even when I tried to delete them.
Could 100 or so custom fields from my theme destroy my views? Any help?
Dear Kamil,
Yes it can. There is a new setting in PHP 5.3 that limits the number of posted variables to 300 by default. There are several variables for each custom field while editing a View so we easily reach the limit with many custom fields. Try raising the limits in .htaccess with:
php_value max_input_vars 3000
If you are also using the Suhosin patch for PHP, you will also need:
php_value suhosin.post.max_vars 3000
php_value suhosin.request.max_vars 3000
Please let me know if there is anything else that I can assist you with.
Regards,
Caridad
Hey CaridadZ,
I don't know why but .htaccess didn't work, so I modified php.ini with:
max_input_vars = 3000
And it's back to normal now.
Thanks a lot!
Kamil
I had the same problem and with your help the problem is resolved.
CaridadZ thank you very much.