Support

Account

Home Forums ACF PRO Field loading already disabled Reply To: Field loading already disabled

  • Thanks, John! I ended up using get_field_object() to see how the field was coming out of the data store, wondering if that might be before any filters were applied, and the disabled flag was set to 1 in the return from that function.

    Then I remembered that I’d created an acf-json folder in my theme just a few days prior to take advantage of the caching speed. Sure enough, the json that had been written to disk had the disabled flag on. I deleted the folder, and the field went back to functioning normally.

    So it appears that anything that happens in load_field affects what’s cached in the acf-json folder. I reported this in a support ticket.

    I appreciate the insight into prepare_field vs. load_field. I switched to prepare_field for this conditional disabling.