Title: &#8220;Attachment&#8221; button doesn&#8217;t work
Last modified: July 13, 2020

---

# “Attachment” button doesn’t work

 *  Resolved [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * (@stephernandez)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/)
 * Hello,
    I use for the first time BP docs which does good work. I would have 2
   requests:
 * 1/ I can’t load an attached file, when I click on the “Attachment” button it 
   looks like it will load and then nothing happens.
    The site is on WP 5.4.1, in
   HTTPS, the theme is Enfold and I also use Youser to dress Buddypress.
 * 2/I would like to be able to download the documents created with BD Docs (in 
   Word or PDF format). Is it possible to offer you a payment for this work and 
   if so how much?
 * Thank you for your support,
    Stéphanie
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fattachment-button-doesnt-work-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [David Cavins](https://wordpress.org/support/users/dcavins/)
 * (@dcavins)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13118146)
 * Hello, can you open the console while using that page to see if any JavaScript
   errors are being logged?
    in Firefox: [https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Opening_the_Web_Console](https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Opening_the_Web_Console)
   in Chrome: [https://developers.google.com/web/tools/chrome-devtools/console/](https://developers.google.com/web/tools/chrome-devtools/console/)
 *  Thread Starter [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * (@stephernandez)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13135896)
 * Hello David, David
    here is the error message I have:
 * Uncaught TypeError: n.browser is undefined
    i [https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1](https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1)
 * I am not a developer and I do not know if this information is useful in my case.
   
   Can you enlighten me? Thank you very much Stephanie
 *  Plugin Author [David Cavins](https://wordpress.org/support/users/dcavins/)
 * (@dcavins)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13136031)
 * Hi [@stephernandez](https://wordpress.org/support/users/stephernandez/),
 * Thanks for checking out the console. It sounds like there is an error in the 
   JavaScript code that is provided by Youzer. JavaScript is fragile, so if there
   is an error, all JS-powered functionality on the page will break. Try temporarily
   deactivating Youzer and see if the issue goes away. If it’s solved, then open
   a ticket with the Youzer maintainers to fix the source of the issue.
 * Best,
 * -David
 *  Thread Starter [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * (@stephernandez)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13144062)
 * Hello David and thank you for the answer.
    I deactivated Youser but the problem
   persists: when I click on the “Attachment” button the page refreshes for 3 seconds
   then nothing happens. Another idea ? Thank you, Stephanie
 *  Plugin Author [David Cavins](https://wordpress.org/support/users/dcavins/)
 * (@dcavins)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13145438)
 * Hi [@stephernandez](https://wordpress.org/support/users/stephernandez/),
 * Check your console for errors; I suspect that now that Youzer isn’t breaking 
   all JavaScript on the page, some other error has surfaced.
    -  This reply was modified 5 years, 10 months ago by [David Cavins](https://wordpress.org/support/users/dcavins/).
 *  Thread Starter [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * (@stephernandez)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13145617)
 * I have only the same error repeated by the console.
    Above I have theses informations(
   in french sorry) :
 * Le cookie « aviaPrivacyMustOptInSetting » sera bientôt rejeté car son attribut«
   sameSite » est défini sur « none » ou une valeur invalide, et sans attribut «
   secure ». Pour en savoir plus sur l’attribut « sameSite », consultez [https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite)
   create
    Cette page utilise la propriété non standard « zoom ». Envisagez d’utiliser
   calc() dans les valeurs des propriétés pertinentes ou utilisez « transform » 
   avec « transform-origin: 0 0 ». create La mise en page a été forcée avant le 
   chargement complet de la page. Si les feuilles de style ne sont pas encore chargées,
   cela peut provoquer un flash de contenu non stylisé. jquery.js:3:25903
 * Uncaught TypeError: n.browser is undefined
    i [https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1](https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1)
   youzer.min.js:1:7478
 * Uncaught TypeError: n.browser is undefined
    i [https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1](https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1)
   youzer.min.js:1:7478
 * Uncaught TypeError: n.browser is undefined
    i [https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1](https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1)
   youzer.min.js:1:7478
 * Uncaught TypeError: n.browser is undefined
    i [https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1](https://artmoma-h2020.eu/wp-content/plugins/youzer/includes/public/assets/js/youzer.min.js?ver=2.5.0:1)
   youzer.min.js:1:7478
 *  Plugin Author [David Cavins](https://wordpress.org/support/users/dcavins/)
 * (@dcavins)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13145632)
 * Thanks! What does the console display when Youzer is disabled?
 *  Thread Starter [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * (@stephernandez)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13145661)
 * this :
 * MouseEvent.mozPressure est obsolète. Veuillez utiliser plutôt PointerEvent.pressure.
   tinymce.min.js:2:9108
    Note: MonsterInsights does not track you as a logged-in
   site administrator to prevent site owners from accidentally skewing their own
   Google Analytics data. If you are testing Google Analytics code, please do so
   either logged out or in the private browsing/incognito mode of your web browser.
   create:107:11 Le cookie « aviaPrivacyMustOptInSetting » sera bientôt rejeté car
   son attribut « sameSite » est défini sur « none » ou une valeur invalide, et 
   sans attribut « secure ». Pour en savoir plus sur l’attribut « sameSite », consultez
   [https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite](https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite)
   create Cette page utilise la propriété non standard « zoom ». Envisagez d’utiliser
   calc() dans les valeurs des propriétés pertinentes ou utilisez « transform » 
   avec « transform-origin: 0 0 ». create La mise en page a été forcée avant le 
   chargement complet de la page. Si les feuilles de style ne sont pas encore chargées,
   cela peut provoquer un flash de contenu non stylisé. jquery.js:3:25903
 * ​
 *  Thread Starter [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * (@stephernandez)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13155448)
 * Hi,
    the problem probably come from my theme “Enfold”, because when I desactivate
   it, the button works.
 * Please could you reply to my second question ?
    2/ I would like to be able to
   download the documents created with BD Docs (in Word or PDF format). Is it possible
   to offer you a payment for this work and if so how much?
 * If you can’t, could I ask to another developper to do that ?
 * Thank you
    Stephanie
 *  Plugin Author [David Cavins](https://wordpress.org/support/users/dcavins/)
 * (@dcavins)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13155580)
 * Hi [@stephernandez](https://wordpress.org/support/users/stephernandez/),
 * Regarding downloading as PDF or Word, it’s unlikely that we could bundle that
   capability with the plugin. I’ve done other projects that required PDF or Word
   output, and I’ve never found a way to do it that didn’t require changes to the
   server (installing open-source tool GhostScript for instance and all of it many
   dependencies).
 * However, it’s entirely doable for your specific installation on your server and
   a developer should be able to help you with that issue.
 * -David
 *  Thread Starter [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * (@stephernandez)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13155674)
 * I thank you for all the replies !
    Have a nice day Stephanie

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘“Attachment” button doesn’t work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-docs.svg)
 * [BuddyPress Docs](https://wordpress.org/plugins/buddypress-docs/)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-docs/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-docs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-docs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-docs/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [stephernandez](https://wordpress.org/support/users/stephernandez/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/attachment-button-doesnt-work-2/#post-13155674)
 * Status: resolved