Home Forums Gutenberg Custom fields not saving Reply To: Custom fields not saving

  • Well, i guess i found something:

    – I´ve updated again to WP 5.0.3
    – Installed Classic Editor to disable gutemberg
    – Installed ACF 5.7.6

    Working ok.

    If i leave Gutemberg, i have problems with conditional location rules for groups, not working. Ex. i have a group wich location is for pages and using a particular page_template. When i change the page_template selector, no group become visible as should be. No errors on console.

    If i update ACF to 5.7.7 i have this js error when ichange the page_template as described above: Uncaught TypeError: Cannot read property ‘showEnable’ of undefined

    On: advanced-custom-fields-pro/assets/js/acf-input.min.js?ver=5.7.7

    Something like on inspector:

    at acf-input.min.js?ver=5.7.7:3
    at (<anonymous>)
    at acf.Model.t (acf-input.min.js?ver=5.7.7:3)

    So, something related to the location group and how acf detect/process that once the selector triggers “change” or similar.

    Also reading comments for the chages into acf 5.7.7 version says:

    “Dev – Major improvements to the acf.models.Postbox model.”

    Maybe this has something to do with this issue, something with acf.models since that appears to be related to the js error when says acf.Model.t on acf-input.min.js

    So in resume, running WP 5.0.3, but without Gutemberg, and with ACF 5.7.6 is the only way i could make things to keep working as before… till now.