• Hi,
    there seems to be bug in current plugin version (tested 2.2.2 and 2.2.3). When trying to add attachments [Upload files] the following error occurs:

    “An error occurred in the upload. Please try again later.”

    The debug log throws this error for each new upload attempt:

    [08-Mar-2024 08:52:47 UTC] PHP Notice: Undefined Offset: 0 in /var/www/html/.../wp-content/plugins/buddypress-docs/includes/theme-bridge.php on line 384
    [08-Mar-2024 08:52:47 UTC] PHP Notice: Trying to get property 'content' of non-object in /var/www/html/.../wp-content/plugins/buddypress-docs/includes/theme-bridge.php on line 384

    I added the capability “upload_files” to the users role, but this doesn’t make any difference.

    After deactivating all plugins besides BP & BP-Classic, I narrowed down the problem to WooCommerce (blank installation from 8.2.2 to 8.6.1). After deactivating this plugin, the upload works.

    BTW: File uploads also work in “BuddyDrive” even with WooCommerce activated.

    BuddyPress Docs 2.2.3

    • WP 6.4.3
    • BP 12.3.0
    • BP Classic 1.4.0
    • BuddyX Theme 4.6.6
Viewing 10 replies - 1 through 10 (of 10 total)
  • I’ve been looking into buying a theme, where this is also an issue in the demo. That theme also uses both WooCommerce and this BuddyPress Docs plugin. Have you managed to get it fixed or found the solution?

    @dcavins please look into this.

    Thread Starter user4forum

    (@user4forum)

    Meanwhile, this problem has been reported by two other users. I’m grateful for the voluntary work on this plugin, but a brief response after nearly three weeks would be appreciated. If additional information is needed, I am happy to provide it. Thank you very much.

    Plugin Author David Cavins

    (@dcavins)

    @user4forum – Sorry about not responding here. Someone opened a GitHub issue about this (I assumed it was someone on this thread), and we’re thinking about it there: https://github.com/boonebgorges/buddypress-docs/issues/751

    Short answer is that we’re using WP’s uploader library to handle attachments, and it has been changed in 6.4. BP Docs uploads work as expected with WP 6.3.x and with or without WooCommerce. Upgrade to 6.4., and it’s broken, really with or without WooCommerce.

    Thanks for the ticket!

    Thread Starter user4forum

    (@user4forum)

    Thank you for the tip, but downgrading WP to version 6.3.x is not an option, and neither is giving up on WC.

    It’s a pity, but I find sticking to WP standards commendable and this issue persists with the current WP 6.5-RC4. However, it should be noted that “file upload” works on a fresh WP 6.4.3 / BP 12.4.0 / BP Classic 1.4.0 installation as long as WC is deactivated.

    I will continue to wait for an update because currently this plugin appears to be the best approach for handling documents within BP Users and BP Groups.

    Plugin Author David Cavins

    (@dcavins)

    Huh, this isn’t as clear cut as I thought. On two test installations, everything works as expected with Twenty Twenty-Two or BuddyX, WP 6.4.3, BP 12.4 and WooCommerce 8.7.0 enabled. (And with or without BP Classic, using either php7.4 or php8.1.) Can you share your site health > info output? For instance here’s the info from one of my test instances that is working as expected:

    ` wp-core
    
    version: 6.4.3
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%postname%/
    https_status: false
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: local
    user_count: 2
    dotorg_communication: true wp-paths-sizes wordpress_path: /Users/dcavins/Local Sites/docstest/app/public
    wordpress_size: 54.04 MB (56660695 bytes)
    uploads_path: /Users/dcavins/Local Sites/docstest/app/public/wp-content/uploads
    uploads_size: 4.82 MB (5056120 bytes)
    themes_path: /Users/dcavins/Local Sites/docstest/app/public/wp-content/themes
    themes_size: 18.10 MB (18980598 bytes)
    plugins_path: /Users/dcavins/Local Sites/docstest/app/public/wp-content/plugins
    plugins_size: 58.26 MB (61085512 bytes)
    database_size: 6.72 MB (7045120 bytes)
    total_size: 141.93 MB (148828045 bytes) wp-active-theme name: BuddyX (buddyx)
    version: 4.6.7
    author: wbcomdesigns,vapvarun
    author_website: https://github.com/vapvarun/buddyx
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, block-templates, post-thumbnails, automatic-feed-links, title-tag, html5, post-formats, customize-selective-refresh-widgets, responsive-embeds, custom-header, custom-background, wp-block-styles, editor-patterns, editor-styles, align-wide, editor-color-palette, editor-font-sizes, amp, service_worker, menus, custom-logo, editor-style, lifterlms-sidebars, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, buddypress-use-nouveau, widgets
    theme_path: /Users/dcavins/Local Sites/docstest/app/public/wp-content/themes/buddyx
    auto_update: Disabled wp-themes-inactive (5) Twenty Twenty: version: 2.5, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Four: version: 1.0, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-One: version: 2.1, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.3, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.6, author: the WordPress team, Auto-updates disabled wp-plugins-active (4) BP Classic: version: 1.4.0, author: The BuddyPress Community, Auto-updates disabled
    BuddyPress: version: 12.4.0, author: The BuddyPress Community, Auto-updates disabled
    BuddyPress Docs: version: 2.2.3, author: Boone B Gorges, David Cavins, Auto-updates disabled
    WooCommerce: version: 8.7.0, author: Automattic, Auto-updates disabled wp-media image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: 1
    post_max_size: 1000M
    upload_max_filesize: 300M
    max_effective_size: 300 MB
    max_file_uploads: 20
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, BMP
    ghostscript_version: 9.56.1 wp-server server_architecture: Darwin 23.3.0 x86_64
    httpd_software: Apache/2.4.43 (Unix)
    php_version: 7.4.1 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 4000
    time_limit: 1200
    memory_limit: 256M
    max_input_time: 600
    upload_max_filesize: 300M
    php_post_max_size: 1000M
    curl_version: 8.4.0 (SecureTransport) LibreSSL/3.3.6
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: false
    current: 2024-03-29T14:31:04+00:00
    utc-time: Friday, 29-Mar-24 14:31:04 UTC
    server-time: 2024-03-29T14:31:03+00:00 wp-database extension: mysqli
    server_version: 8.0.16
    client_version: mysqlnd 7.4.1
    max_allowed_packet: 16777216
    max_connections: 151 wp-constants WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /Users/dcavins/Local Sites/docstest/app/public/wp-content
    WP_PLUGIN_DIR: /Users/dcavins/Local Sites/docstest/app/public/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: local
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined wp-filesystem wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable buddypress version: 12.4.0
    active_components: Community Members, Extended Profiles, Account Settings, Activity Streams, Notifications, User Groups
    template_pack: BuddyPress Nouveau 12.4.0
    url_parser: Legacy Parser
    ! hide-loggedout-adminbar: undefined
    ! bp-disable-account-deletion: undefined
    ! bp-disable-avatar-uploads: undefined
    ! bp-disable-cover-image-uploads: undefined
    bp-enable-members-invitations: undefined
    bp-enable-membership-requests: undefined
    ! bp-disable-profile-sync: undefined
    ! bp_restrict_group_creation: undefined
    ! bp-disable-group-avatar-uploads: undefined
    ! bp-disable-group-cover-image-uploads: undefined
    ! bp-disable-blogforum-comments: No
    _bp_enable_heartbeat_refresh: Yes
    Thread Starter user4forum

    (@user4forum)

    I tested it again with the latest plugin version of WooCommerce. Updated the suspected plugin from 8.2.2 (latest one without blocks) to 8.7.0 (latest version). All plugins deactivated, then activated:

    • BuddyPress 12.4.0
    • with and without BP-Classic 1.4.0
    • BuddyPress Docs 2.2.3
      BuddyX Theme 4.6.7

    No running other custom snippets (bp-custom.php)

    Testing:
    (A) Leaving WooCommerce disabled: ok (file is uploaded)
    (B) Getting WooCommerce enabled: error (An error occurred in the upload. Please try again later.)

    BTW: In both cases there’s no access to [Media Library] (endless loop).

    Fresh Installation:
    WP 6.4.3 / PHP 7.4.33 / MariaDB 10.4.22
    [CentOS 7 / Apache 2.4.6]

    Here’s the complete site-health info log:

    ### wp-core ###
    
    version: 6.4.3
    site_language: en_US
    user_language: en_US
    timezone: Europe/Berlin
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 0
    default_comment_status: closed
    environment_type: production
    user_count: 44
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/html/XXX
    wordpress_size: 54.65 MB (57309745 bytes)
    uploads_path: /var/www/html/XXX/wp-content/uploads
    uploads_size: 778.72 MB (816551566 bytes)
    themes_path: /var/www/html/XXX/wp-content/themes
    themes_size: 48.06 MB (50398843 bytes)
    plugins_path: /var/www/html/XXX/wp-content/plugins
    plugins_size: 194.14 MB (203569118 bytes)
    database_size: 11.75 MB (12320768 bytes)
    total_size: 1.06 GB (1140150040 bytes)
    
    ### wp-active-theme ###
    
    name: BuddyX (buddyx)
    version: 4.6.7
    author: wbcomdesigns,vapvarun
    author_website: https://github.com/vapvarun/buddyx
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, block-templates, post-thumbnails, automatic-feed-links, title-tag, html5, post-formats, customize-selective-refresh-widgets, responsive-embeds, custom-header, custom-background, wp-block-styles, editor-patterns, editor-styles, align-wide, editor-color-palette, editor-font-sizes, amp, service_worker, menus, custom-logo, editor-style, lifterlms-sidebars, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, buddypress-use-nouveau, widgets
    theme_path: /var/www/html/XXX/wp-content/themes/buddyx
    auto_update: Disabled
    
    ### wp-themes-inactive (7) ###
    
    Bayleaf: version: 1.4.9, author: Vedathemes, Auto-updates disabled
    BuddyX-Copy: version: 0.1.0, author: NN, Auto-updates disabled
    Getwid Base: version: 1.1.4, author: MotoPress, Auto-updates disabled
    REIGN: version: 7.0.0, author: Wbcom Designs, Auto-updates disabled
    Twenty Twenty-Four: version: 1.0, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.3, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.6, author: the WordPress team, Auto-updates disabled
    
    ### wp-plugins-active (3) ###
    
    BuddyPress: version: 12.4.0, author: The BuddyPress Community, Auto-updates disabled
    BuddyPress Docs: version: 2.2.3, author: Boone B Gorges, David Cavins, Auto-updates disabled
    WooCommerce: version: 8.7.0, author: Automattic, Auto-updates disabled
    
    ### wp-plugins-inactive (52) ###
    
    Allow iframe Tags in Editor: author: Joshua Woehlke, version: (undefined), Auto-updates disabled
    bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled
    Better Messages: version: 2.4.33, author: WordPlus, Auto-updates disabled
    BP Attachments: version: 1.2.0, author: The BuddyPress Community, Auto-updates disabled
    BP Classic: version: 1.4.0, author: The BuddyPress Community, Auto-updates disabled
    BP Group Documents: version: 1.24, author: lenasterg, Auto-updates disabled
    BP Profile Search: version: 5.7.4, author: Andrea Tarantini, Auto-updates disabled
    BuddyPress Display xProfile: version: 1.8.1, author: Wbcom Designs, Auto-updates disabled
    BuddyPress Group Role: version: 1.0.0, author: BuddyDev Team, Auto-updates disabled
    BuddyPress Groups CSV Import: version: 1.0.5, author: Vivek Sharma, Auto-updates disabled
    BuddyPress Matchmaking: version: 1.3, author: Muhammad Kashif, Auto-updates disabled
    BuddyPress Member Type: version: 1.2.0, author: wbcomdesigns, Auto-updates disabled
    BuddyPress Reply By Email: version: 1.0-RC11.dev, author: r-a-y, Auto-updates disabled
    BuddyPress Xprofile Custom Field Types: version: 1.2.7, author: BuddyDev, Auto-updates disabled
    Code Snippets: version: 3.6.4, author: Code Snippets Pro, Auto-updates disabled
    Conditional Fields for Contact Form 7: version: 2.4.8, author: Jules Colle, Auto-updates disabled
    Conditional Profile Fields for BuddyPress: version: 1.2.6, author: BuddyDev, Auto-updates disabled
    Contact Form 7: version: 5.9.3, author: Takayuki Miyoshi, Auto-updates disabled
    Contact Form 7 - Dynamic Text Extension: version: 4.3.1, author: AuRise Creative, SevenSpark, Auto-updates disabled
    Contact Form 7 Modules: Hidden Fields: version: 2.0.2, author: Katz Web Services, Inc., Auto-updates disabled
    Contact Form 7 Modules: Send All Fields: version: 2.0.2, author: Katz Web Services, Inc., Auto-updates disabled
    Contact Form DB: version: 2.10.37, author: Michael Simpson, Auto-updates disabled
    Defaults for BuddyPress Docs: version: 1.0.0, author: Venutius, Auto-updates disabled
    de_DE: version: 1.0.0, author: Frank Bültge, Auto-updates disabled
    Disable User Login: version: 1.3.9, author: Saint Systems, Auto-updates disabled
    EditorsKit: version: 1.40.5, author: Munir Kamal, Auto-updates disabled
    Events Manager: version: 6.4.7.2, author: Pixelite, Auto-updates disabled
    Events Manager - CSV Import / Export: version: 1.2.8, author: Stonehenge Creations, Auto-updates disabled
    Frontier Restrict Media: version: 1.6.2, author: finnj, Auto-updates disabled
    GD bbPress Attachments: version: 4.6, author: Milan Petrovic, Auto-updates disabled
    GD Topic Polls: plugin for WordPress and bbPress forums: version: 2.3, author: Milan Petrovic, Auto-updates disabled
    Kirki Customizer Framework: version: 5.1.0, author: Themeum, Auto-updates disabled
    LH Xprofile forms: version: 1.03, author: Peter Shaw, Auto-updates disabled
    MediaPress: version: 1.5.9, author: BuddyDev, Auto-updates disabled
    Multiple Roles: version: 1.3.7, author: Christian Neumann, Auto-updates disabled
    Postie: version: 1.9.68, author: Wayne Allen, Auto-updates disabled
    Post SMTP: version: 2.8.13, author: Post SMTP, Auto-updates disabled
    Query Monitor: version: 3.15.0, author: John Blackbourn, Auto-updates disabled
    Reading Time WP: version: 2.0.15, author: Jason Yingling, Auto-updates disabled
    Relative Image URLs: version: 2.0, author: Scott Werner, Auto-updates disabled
    Rendez Vous: version: 1.4.2, author: imath, Auto-updates disabled
    User Access Manager: version: 2.2.23, author: Alexander Schneider, Auto-updates disabled
    Wbcom Designs - BuddyPress Member Blog: version: 2.1.0, author: Wbcom Designs, Auto-updates disabled
    Wbcom Designs - BuddyPress Member Export Import: version: 1.5.0, author: Wbcom Designs, Auto-updates disabled
    Wbcom Designs - BuddyPress Search: version: 1.3.0, author: wbcomdesigns, Auto-updates disabled
    Wbcom Designs - BuddyWoo: version: 1.3.1, author: WBCOM Designs, Auto-updates disabled
    WordPress Importer: version: 0.8.2, author: wordpressdotorg, Auto-updates disabled
    WP BASIC Auth: version: 1.1.4, author: wokamoto, Auto-updates disabled
    wpDataTables: version: 5.8.2, author: TMS-Plugins (latest version: 6.2.1), Auto-updates disabled
    WP FullCalendar: version: 1.5, author: Pixelite, Auto-updates disabled
    WP Media Categories: version: 2.1.0, author: John James Jacoby, Auto-updates disabled
    WP OPcache: version: 4.2.0, author: nierdz, Auto-updates disabled
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1809
    imagemagick_version: ImageMagick 7.1.1-29 Q16-HDRI x86_64 21991 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 10M
    upload_max_filesize: 5M
    max_effective_size: 5 MB
    max_file_uploads: 20
    imagick_limits: 
     imagick::RESOURCETYPE_AREA: 15 GB
     imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
     imagick::RESOURCETYPE_FILE: 768
     imagick::RESOURCETYPE_MAP: 8 GB
     imagick::RESOURCETYPE_MEMORY: 4 GB
     imagick::RESOURCETYPE_THREAD: 1
     imagick::RESOURCETYPE_TIME: 0
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVS, BAYER, BAYERA, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MPO, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: not available
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-1160.108.1.el7.x86_64 x86_64
    httpd_software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
    php_version: 7.4.33 64bit
    php_sapi: apache2handler
    max_input_variables: 1000
    time_limit: 120
    memory_limit: 256M
    max_input_time: 60
    upload_max_filesize: 5M
    php_post_max_size: 10M
    curl_version: 7.29.0 NSS/3.90
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    current: 2024-03-29T15:24:11+00:00
    utc-time: Friday, 29-Mar-24 15:24:11 UTC
    server-time: 2024-03-29T16:24:09+01:00
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.4.22-MariaDB
    client_version: mysqlnd 7.4.33
    max_allowed_packet: 16777216
    max_connections: 151
    
    ### wp-constants ###
    
    WP_HOME: https://XXX.ddnss.eu
    WP_SITEURL: https://XXX.ddnss.eu
    WP_CONTENT_DIR: /var/www/html/XXX/wp-content
    WP_PLUGIN_DIR: /var/www/html/XXX/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: utf8_general_ci
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    ### buddypress ###
    
    version: 12.4.0
    active_components: Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups
    template_pack: BuddyPress Nouveau 12.4.0
    url_parser: BP Rewrites API
    ! hide-loggedout-adminbar: undefined
    _bp_community_visibility: 
     global: anyone
    ! bp-disable-account-deletion: No
    ! bp-disable-avatar-uploads: undefined
    ! bp-disable-cover-image-uploads: undefined
    bp-enable-members-invitations: undefined
    bp-enable-membership-requests: undefined
    ! bp-disable-profile-sync: undefined
    ! bp_restrict_group_creation: No
    ! bp-disable-group-avatar-uploads: undefined
    ! bp-disable-group-cover-image-uploads: undefined
    ! bp-disable-blogforum-comments: No
    _bp_enable_heartbeat_refresh: Yes
    Thread Starter user4forum

    (@user4forum)

    The problem appears to be narrowed down and seems to be a permission issue. After running a new test with the latest WP version, I was still logged in as “Administrator” by chance. Under this user, the upload works without any problems. From the “Contributor” role onwards, uploads are possible. The permission ‘upload_files’ is not required, but the permission ‘edit_posts‘ is. Unfortunately, this means the plugin remains unusable for our users with “Subscriber” roles. Why this problem only occurs in the presence of WooCommerce remains an open question.

    Plugin Author David Cavins

    (@dcavins)

    That’s a great finding. Thanks for doing the testing. It sounds like Woo is filtering user capabilities in a too-broad way. I’ll have to open WC and see if it’s obvious what they’re doing.

    Got exactly the same issue! On Administrator role everything looks fine, on subscriber one(default) it bugs..

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Upload Error – Conflict with WooCommerce’ is closed to new replies.