Skip Navigation

[Resolved] Views not saving changes

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 3 replies, has 3 voices.

Last updated by Enfoque 7 years, 4 months ago.

Assigned support staff: Caridad.

Author
Posts
#22453

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?

#22457

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

#22458

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

#64704

I had the same problem and with your help the problem is resolved.
CaridadZ thank you very much.