In a default WordPress 6.6.1 installation with Pods 3.2.6, testing a Code Syntax field kept settings for both Sanitize HTML unchecked and REST active. Here are some things that might help:
- Under
Edit Pod > REST API tab, is REST enabled for the pod as a whole? This is necessary for fields to use REST individually.
- When saving the field settings under
Code (Syntax Highlighting) Options and REST API tabs on the field, do the settings revert immediately after save, after page refresh, or at a later time? Is it all REST fields, or only Read, Read Access, or Write?
- Do things change if all other plugins are disabled and a default theme is used?
- Are there any plugins, code, or configuration files such as
pods.json overriding settings for Pods or REST?
- Have user capabilities or roles been modified? Is the editing user an administrator?
- Does clearing Pods cache at the top of
Pods Admin > Settings help?
- On
Pods Admin > Pods Tools, does running Repair Pod, Groups, and Fields on the specific pod or Repair Pod configurations help?
- Does exporting the configuration using
Pods > Components > Import/Export Packages, then importing into a fresh installation, or re-importing into the same install after backing up the database resolve the issue?
Hi Paul,
It is working now, but I will explain bellow, maybe it would help other users or to make some change to on the plugin (if it is a Pods problem)
After the downgrade, the new changes I did do not save too.
What helped me is deactivating the plugin, and deactivating Litespeed plugin, activating Pods and activating Litespeed again. Even clearing the Litespeed didin’t work.
But I think it was some thing related to Litespeed and Pods together, not the Pods version.
After it, the changes are Okay and everything is working, but I tried (for test purpose) to make changes and the problem still happens, after deactivating like I said above, it worked.
About your suggestions:
- Under
Edit Pod > REST API tab, is REST enabled for the pod as a whole? This is necessary for fields to use REST individually.
Yes, it was
- When saving the field settings under
Code (Syntax Highlighting) Options and REST API tabs on the field, do the settings revert immediately after save, after page refresh, or at a later time? Is it all REST fields, or only Read, Read Access, or Write?
after page refresh
- Do things change if all other plugins are disabled and a default theme is used?
Explained above
- Are there any plugins, code, or configuration files such as
pods.json overriding settings for Pods or REST?
May only Litespeed and cache. I’m using Disable REST API plugin too, but I’m using it for years with Pods and the problem is new.
- Have user capabilities or roles been modified? Is the editing user an administrator?
No, its is an administrator
- Does clearing Pods cache at the top of
Pods Admin > Settings help?
No, I tried it.
- On
Pods Admin > Pods Tools, does running Repair Pod, Groups, and Fields on the specific pod or Repair Pod configurations help?
I didn’t tried this, and I’m afraid to do it now that is all working.
- Does exporting the configuration using
Pods > Components > Import/Export Packages, then importing into a fresh installation, or re-importing into the same install after backing up the database resolve the issue?
I haven’t tried it, but, I tried to modify the database (the meta fields, using the field ID) directly with PHP My Admin, but the plugin was not showing the changes too (very strange), maybe some cache.
Thank you very much for your plugin and your help.
Best regards, Diego.
Thanks for the thorough follow-up. Sounds like a cache may have gotten stuck.
Plugins like LiteSpeed, in addition to a full page cache, can often enable object caching, which can at times cause more granular settings or portions of pages to be cached or delayed in updating between page views.