Support

Account

Home Forums Backend Issues (wp-admin) Upload file button not working

Solving

Upload file button not working

  • Hi

    we have a problem with upload file button in our custom field
    it suddenly not working

    we tried to deactivate all the plugins and nothing changes
    i believe there is something wrong with the js
    but we didn’t do anything in the site

    in my console there is an error in input.min.js

    is there other way to fix this?
    we really need to fix this soon i hope you will help us

  • Hi @yumi03

    Would you mind sharing a copy of the error reported in full in your next post?

    Have you also been able to rule out conflicts with your current theme by checking whether the same is reproduced when running one of the stock WP themes?

  • This is what i saw in the console

    JQMIGRATE: Migrate is installed, version 1.4.1

    post-new.php?post_type=stock_meetings:212 Uncaught ReferenceError: acf is not defined
    at post-new.php?post_type=stock_meetings:212
    at post-new.php?post_type=stock_meetings:224

    post-new.php?post_type=stock_meetings:2593 Uncaught ReferenceError: acf is not defined
    at post-new.php?post_type=stock_meetings:2593

    load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,thickbox,jquery-ui-position,wp-pointer,pos…:663 Uncaught ReferenceError: Backbone is not defined
    at load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,thickbox,jquery-ui-position,wp-pointer,pos…:663
    at load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,thickbox,jquery-ui-position,wp-pointer,pos…:663

    load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,thickbox,jquery-ui-position,wp-pointer,pos…:705 Uncaught TypeError: QTags is not a constructor
    at quicktags (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,thickbox,jquery-ui-position,wp-pointer,pos…:705)
    at post-new.php?post_type=stock_meetings:2681
    at post-new.php?post_type=stock_meetings:2688

    input.min.js?ver=4.4.11:1 Uncaught TypeError: Cannot read property ‘post_id’ of null
    at HTMLDocument.<anonymous> (input.min.js?ver=4.4.11:1)
    at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
    at Function.ready (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
    at HTMLDocument.K (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)

    input.min.js?ver=4.4.11:1 Uncaught TypeError: Cannot read property ‘date_picker’ of null
    at Object.init (input.min.js?ver=4.4.11:1)
    at HTMLDivElement.<anonymous> (input.min.js?ver=4.4.11:1)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
    at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:2)
    at HTMLDocument.<anonymous> (input.min.js?ver=4.4.11:1)
    at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:3)
    at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:3)
    at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:3)
    at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:9)
    at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:3)

    input.min.js?ver=4.4.11:1 Uncaught TypeError: Cannot read property ‘file’ of null
    at Object.popup (input.min.js?ver=4.4.11:1)
    at HTMLAnchorElement.<anonymous> (input.min.js?ver=4.4.11:1)
    at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:3)
    at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery…:3)

    is this enough?

  • This reply has been marked as private.
  • Hi,
    Same problem here, can you make the reply public to allow us solve this problem?

    Uncaught TypeError: Cannot read property ‘id’ of undefined —-> load-scripts.php

    Thanks in advance!

  • Hello,
    Problem solved, it was due to a conflict with All in one schemaorg rich snippets PLUGIN

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

The topic ‘Upload file button not working’ is closed to new replies.