Support

Account

Home Forums Backend Issues (wp-admin) Button of "File" field type not working (js error?)

Solved

Button of "File" field type not working (js error?)

  • First. Thanks for this must-for-ever-have extension for WordPress. Should be part of the core!
    Now the problem: The button of the “File” (or “Image”) field type is not working. When hovering on it, my browser should display the link, but it displays “go to # on this page”.
    Then, clicking the button doesn’t do anything.
    I thinks its JS error. Just by loading the post editor, my web inspector tells this:

    ReferenceError: Can’t find variable: wp
    init
    (anonymous function)
    dispatch
    1

    on file input.min.js:13:2883

    AFTER clicking the file button, the error is similar:

    ReferenceError: Can’t find variable: wp
    popup
    (anonymous function)
    dispatch
    1

    on file input.min.js:13:22130.

    I am using Inbalance theme for wordpress and some plugins… Can you guide me on what to try?
    Thanks.
    Bruno.

  • Hi @bmscmoreira,

    Can you please try deactivating your plugins, and see if the button works as expected? If so, could you enable each plugin one at a time to find the problematic one?

    If this is not the problem, just post back here!

    thanks

  • Thanks for quick reply! Tried deactivating all plugins and didn’t work. However did a clean install of WordPress + same theme and it worked ok, so the problem must be on my end :/

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

The topic ‘Button of "File" field type not working (js error?)’ is closed to new replies.