• elixirlouise

    (@elixirlouise)


    Encountered an error after updating from ?0.9.0.3?to latest. Edit form popup isn’t working because of the script above

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

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    There is no builtin edit form popup within the ACF Extended Form module. Do you use the native ACF acf_form() feature? Or the ACF Extended Form feature to display your form on the front-end?

    Regarding the error, it’s hard to pinpoint the error location as you use minified JS files (default behavior).

    Can you please enable the SCRIPT_DEBUG constant in your wp-config.php file, right before the comment /* That's all, stop editing! Happy publishing. */ using the latest 0.9.0.6 version?

    Usage example:

    define('SCRIPT_DEBUG', true); // enable JS debug

    /* That's all, stop editing! Happy publishing. */

    This will force WordPress to load unminified JS files, and get a more readable JS errors in the console. Once you enabled the SCRIPT_DEBUG, please hard refresh your front-end page (with CTRL+SHIFT+R on chrome), and share the error/screenshot here.

    Thanks!

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Just a heads up regarding your ticket, as I did some research, and it looks like you’re using Frontend Admin plugin for your front-end form.

    The issue come from that third party plugin which hijack and override the native ACF acf.data JS object, which is critical the smooth running of ACF and third party addons such as ACF Extended, and other ACF addons. This is what cause the JS error.

    The plugin override the acf.data object in /acf-frontend-form-element/assets/js/frontend-admin.js:5 and add arbitrary data instead.

    Unfortunately I can’t do much here, as this basically break the ACF compatibility.

    Thanks.

    Regards.

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