• Resolved robert_pal

    (@robert_pal)


    Form Fields/Actions missing after update to ACF Extended 0.9 Free

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Can you provide some more context?

    Do you mean that you don’t see the “Add Action” button or “Add Field Group” field in the Form UI?

    Or, did you have a form already configured in previous version and once you updated, the configured actions are gone in UI, like a reset?

    If that’s the case, it is not normal as the forms should be migrated with the new version. What method did you use to update the plugin? The classic WordPress plugins admin page “update” link? Composer? Manual FTP upload?

    In the meantime, you can always rollback to the previous version 0.8.9.5, and the form should get back in place.

    Thanks!

    Regards.

    Thread Starter robert_pal

    (@robert_pal)

    I had a simple contact form set on a number of websites, after update all the form settings are gone, the Fields groups is empty, any action set if empty as well. Most of them are pretty basic sites nothing special.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Okay I see.

    Can you please provide some more information, as I cannot reproduce this scenario.

    • What method did you use to update the plugin?

    The classic WordPress plugins admin page “update” link? Composer? Manual FTP upload? a WP “manager” app such as managewp?

    • What is your WordPress & ACF version?

    This way I can try to reproduce the issue. Please rollback the previous version if you need a quickfix in the meantime. Otherwise, you can stick to the new version and reconfigure the form.

    Thanks!

    Regards.

    Thread Starter robert_pal

    (@robert_pal)

    Everything is latest version, ACF Extemded was set to update automatically from the wordpress admin plugin list. It happenend with about 30 websites, on 3 different servers

    Thread Starter robert_pal

    (@robert_pal)

    rolled back to previous version, everything works https://drive.google.com/file/d/1vaM2l7K88GZHQ0OL7sd6iFbGzrzfj2Mk/view?usp=sharing

    all the settings are gone after manual update to 0.9

    https://drive.google.com/file/d/1RYOX0z-59V3Zz3xkb3BpcH779ec3gEgb/view?usp=sharing

    • This reply was modified 7 months ago by robert_pal.
    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Thanks for the details. I’m coming back to you after some more tests.

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello again,

    I managed to reproduce the issue using the WP Auto Updater feature as you suggested, and found the root of the problem. I’m wrapping up an update.

    In the meantime, in order to fix the issue, please add the following code in your functions.php file (using the latest 0.9 version):

    // ACFE: fix 0.8.9.5 > 0.9 upgrade with wp auto-update
    add_action('acf/init', 'acfe_fix_init', 999);
    function acfe_fix_init(){
        
        $instance = acf_get_instance('acfe_module_form_upgrades');
        $instance->upgrade_0_9('0.8.9.5');
        
    }

    Then visit your WP Admin dashboard, logged as admin. This will correctly setup your forms. You can then remove the code from your functions.php file.

    Thanks again for the report, and sorry for the inconvenience.

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Just a heads up to let you know that the latest 0.9.0.1 patch fixed this issue. You don’t need any fix anymore, it’s all automatic.

    Thanks again for the report, it was a sneaky bug. And sorry for the inconvenience.

    Have a nice day!

    Regards.

    Thread Starter robert_pal

    (@robert_pal)

    Great stuff, thanks for fixing it so fast.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    You’re welcome! Thanks again for the report!

    Have a nice day!

    Regards.

    Thread Starter robert_pal

    (@robert_pal)

    Hi Konrad, sorry for reopening this old post, but I am still having issues with updating from ?0.8.9.5 to 0.9.0.5

    The actions on form submission are still gogin missing after update, adding you fix to functions, brings some of them back but not all. I have a site where I have an email action on one form, and a user action on another, they both go missing on upgrade, but the fix only brings the user action back.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Sorry for the late answer.

    If you never updated your website from 0.8.9.5 to 0.9, then you don’t need the quickfix I posted. The issue has been fixed in 0.9.0.1, so if you update your website for the first time from 0.8.9.5 directly to 0.9.0.5 you shouldn’t have any issue.

    I suspect that you updated your website from 0.8.9.5 to 0.9, then applied the fix, then rollback to 0.8.9.5, made some changes, and updated again into 0.9.0.5.

    Please note the upgrade will only work one time, because the old 0.8.9.5 actions data are stored in post meta, and the new 0.9.x version store actions data in the post_content. The upgrade check if the post_content is empty before it kicks in. So once the upgrade is done it cannot be done again.

    Additionally, if you update to 0.9.x make some changes, and rollback to 0.8.9.5 the changes made in 0.9.x won’t be taken in account (because data are stored differently). They will appear again when updating to 0.9.x. and you won’t be able to “automatically upgrade” again. This is why I believe you see some differences from one version to the other, and the whole situation seems confusing.

    If you still have issues with some websites, my recommendation would be to simply update to 0.9.0.5 and manually re-add the missing actions and settings. You shouldn’t have for too long, there’s probably only few settings to set.

    Please let me know if you managed to fix the issue.

    Thanks.

    Regards.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.