Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • keepyourreceipt

    (@keepyourreceipt)

    Wanted to follow up on this.

    I tried updating the classes/main.php file with the patch mentioned by @dg12345. This did resolve the admin console error, but when I went to the page edit screen, the preview images didn’t load.

    I added a check to the /assets/js/acf-flexible-content-preview.js file to make sure acf is defined before trying to access it’s methods:

    if ( typeof acf != 'undefined' && typeof acf.getField == 'function' ) {
    ...
    }

    This isn’t the best fix, as the plugin is still enqueueing assets when they’re not needed, but it appears to fix the issue.

    Just wanted to share incase anyone else is looking for a temp fix for this before the plugin core is updated.

    I’m seeing the same issue. It doesn’t appear to be causing the admin to fail, but it would definitely be a good idea to only require this with ACF (as mentioned by Dave above).

    Any movement on this?

Viewing 2 replies - 1 through 2 (of 2 total)