• When I try to save options to disable scripts on a specific custom post type, they unload themselves after saving. This only happens on this post type, I’ve tested on regular pages/posts etc and the settings save. Here’s an example: https://share.getcloudapp.com/lluYl892

    Any ideas why this is?

Viewing 1 replies (of 1 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @qwik3r my sincere apologies for not getting back to you sooner! The problem could be from the fact that there are too many input fields in the edit post/page. All combined with inputs from other plugins, including the WordPress core ones, if they are over the max_input_vars value that’s set in php.ini, it could lead to issues like this one.

    Here’s a post from WooCommerce that explains this: https://docs.woocommerce.com/document/problems-with-large-amounts-of-data-not-saving-variations-rates-etc/ – the principle is the same with any other plugin that has form fields in the edit post/page. So, please check the value you have and if it’s too small, just increase it. Then re-test. Also, please enable “Manage in the Front-end” and test it there as well as there are fewer fields when you manage the CSS/JS in the front-end view since there are no other plugins or WordPress core fields added to the form.

Viewing 1 replies (of 1 total)

The topic ‘Options not saving and unloading’ is closed to new replies.