• Hello,

    I am getting an error when I try to upload a PDF.

    Uncaught DOMException: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string.
        at HTMLInputElement.<anonymous> (https://ribex.yoursite.nl/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jcrop,moxiejs,plupload&ver=4.9.7:4:9668)
        at Function.each (https://ribex.yoursite.nl/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jcrop,moxiejs,plupload&ver=4.9.7:2:2881)
        at a.fn.init.each (https://ribex.yoursite.nl/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jcrop,moxiejs,plupload&ver=4.9.7:2:846)
        at a.fn.init.val (https://ribex.yoursite.nl/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jcrop,moxiejs,plupload&ver=4.9.7:4:9367)
        at Object.wpcf7.taggen.normalize (https://ribex.yoursite.nl/wp-content/plugins/contact-form-7/admin/js/tag-generator.js?ver=5.0.2:214:10)
        at HTMLInputElement.<anonymous> (https://ribex.yoursite.nl/wp-content/plugins/contact-form-7/admin/js/tag-generator.js?ver=5.0.2:23:16)
        at HTMLInputElement.dispatch (https://ribex.yoursite.nl/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jcrop,moxiejs,plupload&ver=4.9.7:3:12444)
        at HTMLInputElement.r.handle (https://ribex.yoursite.nl/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,jcrop,moxiejs,plupload&ver=4.9.7:3:9173)

    And the button “Insert & Link All” is not working for me. I think it has someting to do with the latest WordPress update.

    The website is running with the following config:

    WordPress 4.9.7
    PHP 7.1.19

    Can you help me out?

    Cheers,
    Dennis

    • This topic was modified 6 years, 7 months ago by dennisdejong.
Viewing 1 replies (of 1 total)
  • Plugin Author maximum.software

    (@maximumsoftware)

    The console error that you are getting has been there since the beginning. It is outside the control of this plugin to fix. It does not break any functionality. Eventually, I will replace it with a call to media library dialog box.

    I have just tested the plugin on the latest version of WordPress (4.9.7). Everything seems to be working normally. I am able to upload a PDF file and use it.

    What browser/version are you using? Can you try disabling all browser extensions? What plugins do you have installed on your website? It is possible another plugin is causing issues. Try disabling plugins that may be messing with the upload functionality in the admin panel.

    If you can’t figure it out and you are ok with sending me your wp-admin login details to my email (admin at maximum dot software), I can take a look and debug it.

Viewing 1 replies (of 1 total)
  • The topic ‘Console error when uploading a PDF’ is closed to new replies.