Support

Account

Home Forums Backend Issues (wp-admin) Options page vs media-audiovideo.min.js ( Cannot change image )

Unread

Options page vs media-audiovideo.min.js ( Cannot change image )

  • I’m not sure if this is a conflict with another plugin or WP directly or…

    I have image fields in various places on this project.
    They all work as expected.

    I also have some on a custom options page (using ACF’s acf_add_options_sub_page() ).
    Interacting with those, I always get a JS error from one of WP’s scripts, /wp-includes/js/media-audiovideo.min.js .
    I can remove an image just fine (X)… but when I try to add one, WP’s script throws an error, saying that wp.media.view.settings.post.id isn’t defined.
    True. It isn’t.
    But, being an options page, should it even have a value for an options page?

    Has anyone encountered this?

    This is on WP 5.5.1, using ACF Pro 5.9.1

    Thanks,
    Michal

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.