Title: Console error when uploading a PDF
Last modified: July 9, 2018

---

# Console error when uploading a PDF

 *  [dennisdejong](https://wordpress.org/support/users/dennisdejong/)
 * (@dennisdejong)
 * [8 years ago](https://wordpress.org/support/topic/console-error-when-uploaden-pdf/)
 * 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> (http://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 (http://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 (http://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 (http://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 (http://ribex.yoursite.nl/wp-content/plugins/contact-form-7/admin/js/tag-generator.js?ver=5.0.2:214:10)
           at HTMLInputElement.<anonymous> (http://ribex.yoursite.nl/wp-content/plugins/contact-form-7/admin/js/tag-generator.js?ver=5.0.2:23:16)
           at HTMLInputElement.dispatch (http://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 (http://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 8 years ago by [dennisdejong](https://wordpress.org/support/users/dennisdejong/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years ago](https://wordpress.org/support/topic/console-error-when-uploaden-pdf/#post-10477832)
 * 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.

 * ![](https://ps.w.org/pdf-forms-for-contact-form-7/assets/icon.svg?rev=2670251)
 * [PDF Forms Filler for CF7](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/console-error-when-uploaden-pdf/#post-10477832)
 * Status: not resolved