Support » Plugin: BuddyPress Docs » Media Uploads Broken for Non-Admin Users

  • Resolved gcmaryland

    (@gcmaryland)


    Hello!

    Thanks as always for creating this awesome plug-in! It’s been a huge help to our overarching development.

    Recently, we hit a snag with uploads for non-admin users uploading attachments on the front-end. Admins can continue to upload as normal, even on the front-end, but this issue only appeared within the last few weeks. After disabling everything, including Supercache & Cloudflare controls, I can confirm that the issue only exists within BP Docs, and other non-media based uploads continue to function normally (i.e.; BuddyPress Document Upload plug-in).

    The error generated is: “An error occurred in the upload. Please try again later.”

    The developer tools response is: “Need more rights”

    We’ve also tried using the plug-in User Role Editor to see if we could get the permissions right, but no luck.

    It appears that this issue was traced back to potentially originating around the end of February (possibly around the time of the 4.2 BP release).

    Any ideas would be greatly appreciated! Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Cavins

    (@dcavins)

    Hi @gcmaryland-

    Have you tried using a vanilla theme like Twenty Nineteen? We’ve recently been seeing issues with themes enqueueing the WP Media Uploader before BP Docs does, like this issue: https://github.com/boonebgorges/buddypress-docs/issues/653

    I am able to upload media as a non-admin using BP 4.2, current BP Docs and Twenty Nineteen, so I suspect your theme is at least part of the problem.

    -David

    Thanks for the quick response David!

    We have a great deal of traffic during the day, but I was able to test several themes this morning, and it looks like the problem was stored in some remainder cached files (we have a massive installation), not related to this particular issue on GitHub.

    There appears to be an incompatibility with the BuddyPress Power SEO plug-in where, when installed, it causes a permissions error in the console (https://wordpress.org/plugins/bp-power-seo/).

    Thanks for your help and incredible responsiveness!

    Plugin Author David Cavins

    (@dcavins)

    I have been fooled by cached files, myself. 🙂

    I am assuming this issue is resolved. If it isn’t, feel free to reopen it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Media Uploads Broken for Non-Admin Users’ is closed to new replies.