Support

Account

Home Forums Front-end Issues Add media button is gone when editing existing post

Helping

Add media button is gone when editing existing post

  • Hi

    I have build fronted submission form that captures text and images and that functionality works great.

    Problem appears when one want to update existing post.

    Image upload field displays previously uploaded file.

    Image can be removed and when “add image” button is clicked nothing happen.

    Console error :

    Uncaught TypeError: Cannot read property ‘query’ of undefined
    at Object.new_media_frame (acf-input.min.js?ver=5.6.1:2)
    at Object.popup (acf-input.min.js?ver=5.6.1:2)
    at Object.add (input.js?ver=4.8:51)
    at HTMLAnchorElement.<anonymous> (acf-input.min.js?ver=5.6.1:1)
    at HTMLDocument.dispatch (jquery.min.js:4)
    at HTMLDocument.r.handle (jquery.min.js:4)

    What I have also spotted “Add media button” is also gone from above of WYSIWYG editor.

    Any Idea what that could be. That website is live and I would really appreciate if you push me in the right direction. Is there a way to invoke media window manually?

  • Hi @zinc

    Please open a new support ticket via https://support.advancedcustomfields.com/new-ticket/ and our friendly support team will be able to help further.

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

The topic ‘Add media button is gone when editing existing post’ is closed to new replies.