• Resolved haymondoooo

    (@haymondoooo)


    When we update the buddypress to version 11 the backend admin is not accessible. The memory PHP 512 limit is exhausted. We have disabled all plugins apart from this one and buddypress which causes this crash.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @haymondoooo,

    Thanks for your question. We test on BuddyPress 11 and aren’t seeing any particular spikes in performance right now. We’ve also not had any reports from other users about memory limits being exhausted.

    If you get in touch with your webhost, they may be able to use logs their end to determine what the cause of your issue is. If they can, please reply, and we can see if there is anything we can do to assist.

    Waiting to hear back from you,

    Ben Roberts

    Same problem here: I just installed the plugin to see how it works and, on plugin activation, WordPress says it can’t activate it because of these fatal errors:

    Fatal error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 20480 bytes) in?[…]/wp-includes/meta.php?on line?1185

    Fatal error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 20480 bytes) in?[…]/wp-includes/plugin.php?on line?511

    So we can’t test it. I don’t know if it can help but consider we have a medium/bigger site with at least 30k users already registered on it.

    Anyone can help?

    Thanks in advance,
    Davide

    Thread Starter haymondoooo

    (@haymondoooo)

    We increased the memory size and it again exhausted this causing fatal errors??

    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @haymondoooo and @budy74,

    Thanks for the extra information. Can I ask you to go into tools > health check > info, and post a copy of the information given here. Alternatively, you could use something like pastebin.com?or?gist.github.com if you don’t want to post the information on these forums. This will mean I can replicate your environment and try and find the bug.

    If you can, please enable debug mode – enabling WP_DEBUG and how to log that output to a file and how to share that file and see if you get any further error reports.

    Can you also try rolling back to BuddyPress 10, and see if the problem goes away?

    Essentially, due to the nature of free software, I need as much help as I can from you amazing users and we will try and work together to resolve this as quickly as possible. So anything you can think of that might help will be much appreciated.

    Thanks again!

    Ben Roberts

    Thread Starter haymondoooo

    (@haymondoooo)

    wp-core
    
    version: 6.1.1
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 42098
    dotorg_communication: true wp-paths-sizes wordpress_path: /www/rootsandshootsorg_350/public
    wordpress_size: 67.25 MB (70521836 bytes)
    uploads_path: /www/rootsandshootsorg_350/public/wp-content/uploads
    uploads_size: 7.11 GB (7634454821 bytes)
    themes_path: /www/rootsandshootsorg_350/public/wp-content/themes
    themes_size: 299.29 MB (313827190 bytes)
    plugins_path: /www/rootsandshootsorg_350/public/wp-content/plugins
    plugins_size: 96.33 MB (101011809 bytes)
    database_size: 1.84 GB (1980383232 bytes)
    total_size: 9.41 GB (10100198888 bytes) wp-active-theme name: Roots and Shoots Theme (roots-and-shoots-theme)
    version: 1.0
    author: Taoti Creative
    author_website: https://taoti.com
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, menus, post-thumbnails, html5, title-tag
    theme_path: /www/rootsandshootsorg_350/public/wp-content/themes/roots-and-shoots-theme
    auto_update: Disabled wp-themes-inactive (5) Roots and Shoots Theme: version: 1.0, author: Taoti Creative, Auto-updates disabled
    WordPress Base Theme: version: 1.1.2, author: James Pfleiderer, Auto-updates disabled
    Twenty Twenty-One: version: 1.7, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.3, author: the WordPress team, Auto-updates disabled wp-mu-plugins (5) Kinsta Must-use Plugins: version: 3.0.0, author: Kinsta Team
    ManageWP - Worker Loader: version: 1.0.0, author: Ray Clark
    Taoti Core: version: 1.01, author: James Pfleiderer
    Theme Switcher: version: 1.0, author: James Pfleiderer
    WP Migrate DB Compatibility: version: 1.2, author: Delicious Brains wp-plugins-active (40) ACF Content Analysis for Yoast SEO: version: 3.0.1, author: Thomas Kr?ftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast, Auto-updates disabled
    Advanced Custom Fields: Table Field: version: 1.3.20, author: Johann Heyne, Auto-updates disabled
    Block, Suspend, Report for BuddyPress: version: 3.5.0, author: Bouncingsprout Studio, Auto-updates disabled
    BP Messages Tool: version: 2.2, author: PhiloPress, Auto-updates disabled
    BP Messaging Control: version: 1.7.1, author: Venutius, Auto-updates disabled
    BP Project Framework: version: 2.3.2.1, author: WDS Team, Auto-updates disabled
    Breadcrumb NavXT: version: 7.2.0, author: John Havlik, Auto-updates disabled
    BuddyPress: version: 10.6.0, author: The BuddyPress Community (latest version: 11.1.0), Auto-updates disabled
    BuddyPress Default Data: version: 1.3.1, author: slaFFik, Auto-updates disabled
    BuddyPress Login Redirect to Profile: version: 1.2.3, author: Brajesh Singh, Auto-updates disabled
    BuddyPress Xprofile Custom Field Types: version: 1.2.5, author: BuddyDev, Auto-updates disabled
    Category Order and Taxonomy Terms Order: version: 1.7.4, author: Nsp-Code, Auto-updates disabled
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled
    Disable Comments: version: 2.4.3, author: WPDeveloper, Auto-updates disabled
    Insert Headers and Footers Code - HT Script: version: 1.0.8, author: HasThemes, Auto-updates disabled
    Invite Anyone: version: 1.4.3, author: Boone Gorges, Auto-updates disabled
    iThemes Security: version: 8.1.4, author: iThemes, Auto-updates disabled
    Jotform Online Forms: version: 1.3.1, author: Jotform, Auto-updates disabled
    LH User Taxonomies: version: 1.61, author: Peter Shaw, Auto-updates disabled
    ManageWP - Worker: version: 4.9.16, author: Ray Clark, Auto-updates disabled
    Native PHP Sessions for WordPress: version: 1.3.4, author: Pantheon, Auto-updates disabled
    Redirection: version: 5.3.9, author: John Godley, Auto-updates disabled
    Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Auto-updates disabled
    Roots and Shoots Reporting.: version: 0.1, author: Taoti, Auto-updates disabled
    Show Current Template: version: 0.4.6, author: JOTAKI Taisuke, Auto-updates disabled
    Taoti - Map Feature: version: 1.1.2, author: James Pfleiderer, Auto-updates disabled
    Taoti Migration.: version: 0.1, author: Taoti Creative, Auto-updates disabled
    Taoti RSS Reader: version: 1.01, author: James Pfleiderer, Auto-updates disabled
    TinyPNG - JPEG, PNG & WebP image compression: version: 3.4.1, author: TinyPNG, Auto-updates disabled
    User Role Editor: version: 4.63.2, author: Vladimir Garagulya, Auto-updates disabled
    User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled
    WordPress Username Availability Checker: version: 1.1.8, author: BuddyDev, Auto-updates disabled
    WP Captcha: version: 2.0.0, author: Devnath verma, Auto-updates disabled
    WP Crontrol: version: 1.15.1, author: John Blackbourn & crontributors, Auto-updates disabled
    WP Fastest Cache: version: 1.1.1, author: Emre Vona, Auto-updates disabled
    WP Mail SMTP: version: 3.7.0, author: WPForms, Auto-updates disabled
    WP Migrate Lite: version: 2.6.1, author: WP Engine, Auto-updates disabled
    Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled
    Yoast SEO: version: 20.1, author: Team Yoast, Auto-updates disabled
    YoImages: version: 0.1.8, author: Sirulli, Auto-updates disabled wp-plugins-inactive (7) Akismet Anti-Spam: version: 5.0.2, author: Automattic, Auto-updates disabled
    All In One WP Security: version: 5.1.5, author: All In One WP Security & Firewall Team, Auto-updates disabled
    BuddyPress Security Check: version: 3.2.2, author: Shea Bunge, Auto-updates disabled
    BuddyPress Signup Avatar: version: 1.0.5, author: Brajesh Singh, Auto-updates disabled
    FakerPress: version: 0.5.3, author: Gustavo Bordoni, Auto-updates disabled
    SendGrid: version: 1.11.8, author: SendGrid, Auto-updates disabled
    Spam Destroyer: version: 2.1.3, author: Ryan Hellyer, Auto-updates disabled wp-media image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 768
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown wp-server server_architecture: Linux 5.4.0-1096-gcp x86_64
    httpd_software: nginx/1.21.5
    php_version: 8.0.26 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 256M
    max_input_time: 300
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true wp-database extension: mysqli
    server_version: 10.5.16-MariaDB-1:10.5.16+maria~focal
    client_version: mysqlnd 8.0.26
    max_allowed_packet: 33554432
    max_connections: 20 wp-constants WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /www/rootsandshootsorg_350/public/wp-content
    WP_PLUGIN_DIR: /www/rootsandshootsorg_350/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: Undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined wp-filesystem wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable buddypress version: 10.6.0
    active_components: Community Members, Extended Profiles, Account Settings, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
    template_pack: BuddyPress Templates 10.6.0
    ! hide-loggedout-adminbar: No
    ! bp-disable-account-deletion: Yes
    ! bp-disable-avatar-uploads: Yes
    bp-enable-members-invitations: undefined
    bp-enable-membership-requests: undefined
    ! bp-disable-profile-sync: Yes
    ! bp_restrict_group_creation: Yes
    ! bp-disable-group-avatar-uploads: Yes
    ! bp-disable-group-cover-image-uploads: No
    ! bp-disable-blogforum-comments: No
    _bp_enable_heartbeat_refresh: Yes wp_mail_smtp version: 3.7.0
    license_key_type: lite
    debug: No debug notices found.
    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @haymondoooo,

    Thanks for the information. I certainly think that your web host could increase these limits. I’m not a server expert, but I can see you have a WP_MEMORY_LIMIT defined of 40M which seems extremely low to me. I would expect this to normally be at least 256M, but as BuddyPress is such a resource intensive tool, likely much higher.

    This is an article from the web that may assist, or for you to pass to your webhost – https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/.

    Thread Starter haymondoooo

    (@haymondoooo)

    This is the staging site, the actual live site has over 256M memory, at present this does not have buddypress 11 on as it crashes
    
    
    wp-core
    
    version: 6.1.1
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 42098
    dotorg_communication: true
    
    wp-paths-sizes
    
    wordpress_path: /www/rootsandshootsorg_350/public
    wordpress_size: 67.25 MB (70521836 bytes)
    uploads_path: /www/rootsandshootsorg_350/public/wp-content/uploads
    uploads_size: 7.11 GB (7634454821 bytes)
    themes_path: /www/rootsandshootsorg_350/public/wp-content/themes
    themes_size: 299.29 MB (313827190 bytes)
    plugins_path: /www/rootsandshootsorg_350/public/wp-content/plugins
    plugins_size: 96.33 MB (101011809 bytes)
    database_size: 1.85 GB (1982726144 bytes)
    total_size: 9.41 GB (10102541800 bytes)
    
    wp-active-theme
    
    name: Roots and Shoots Theme (roots-and-shoots-theme)
    version: 1.0
    author: Taoti Creative
    author_website: https://taoti.com
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, menus, post-thumbnails, html5, title-tag
    theme_path: /www/rootsandshootsorg_350/public/wp-content/themes/roots-and-shoots-theme
    auto_update: Disabled
    
    wp-themes-inactive (5)
    
    Roots and Shoots Theme: version: 1.0, author: Taoti Creative, Auto-updates disabled
    WordPress Base Theme: version: 1.1.2, author: James Pfleiderer, Auto-updates disabled
    Twenty Twenty-One: version: 1.7, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.3, author: the WordPress team, Auto-updates disabled
    
    wp-mu-plugins (5)
    
    Kinsta Must-use Plugins: version: 3.0.0, author: Kinsta Team
    ManageWP - Worker Loader: version: 1.0.0, author: Ray Clark
    Taoti Core: version: 1.01, author: James Pfleiderer
    Theme Switcher: version: 1.0, author: James Pfleiderer
    WP Migrate DB Compatibility: version: 1.2, author: Delicious Brains
    
    wp-plugins-active (40)
    
    ACF Content Analysis for Yoast SEO: version: 3.0.1, author: Thomas Kr?ftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast, Auto-updates disabled
    Advanced Custom Fields: Table Field: version: 1.3.20, author: Johann Heyne, Auto-updates disabled
    Block, Suspend, Report for BuddyPress: version: 3.5.0, author: Bouncingsprout Studio, Auto-updates disabled
    BP Messages Tool: version: 2.2, author: PhiloPress, Auto-updates disabled
    BP Messaging Control: version: 1.7.1, author: Venutius, Auto-updates disabled
    BP Project Framework: version: 2.3.2.1, author: WDS Team, Auto-updates disabled
    Breadcrumb NavXT: version: 7.2.0, author: John Havlik, Auto-updates disabled
    BuddyPress: version: 10.6.0, author: The BuddyPress Community (latest version: 11.1.0), Auto-updates disabled
    BuddyPress Default Data: version: 1.3.1, author: slaFFik, Auto-updates disabled
    BuddyPress Login Redirect to Profile: version: 1.2.3, author: Brajesh Singh, Auto-updates disabled
    BuddyPress Xprofile Custom Field Types: version: 1.2.5, author: BuddyDev, Auto-updates disabled
    Category Order and Taxonomy Terms Order: version: 1.7.4, author: Nsp-Code, Auto-updates disabled
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled
    Disable Comments: version: 2.4.3, author: WPDeveloper, Auto-updates disabled
    Insert Headers and Footers Code - HT Script: version: 1.0.8, author: HasThemes, Auto-updates disabled
    Invite Anyone: version: 1.4.3, author: Boone Gorges, Auto-updates disabled
    iThemes Security: version: 8.1.4, author: iThemes, Auto-updates disabled
    Jotform Online Forms: version: 1.3.1, author: Jotform, Auto-updates disabled
    LH User Taxonomies: version: 1.61, author: Peter Shaw, Auto-updates disabled
    ManageWP - Worker: version: 4.9.16, author: Ray Clark, Auto-updates disabled
    Native PHP Sessions for WordPress: version: 1.3.4, author: Pantheon, Auto-updates disabled
    Redirection: version: 5.3.9, author: John Godley, Auto-updates disabled
    Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Auto-updates disabled
    Roots and Shoots Reporting.: version: 0.1, author: Taoti, Auto-updates disabled
    Show Current Template: version: 0.4.6, author: JOTAKI Taisuke, Auto-updates disabled
    Taoti - Map Feature: version: 1.1.2, author: James Pfleiderer, Auto-updates disabled
    Taoti Migration.: version: 0.1, author: Taoti Creative, Auto-updates disabled
    Taoti RSS Reader: version: 1.01, author: James Pfleiderer, Auto-updates disabled
    TinyPNG - JPEG, PNG & WebP image compression: version: 3.4.1, author: TinyPNG, Auto-updates disabled
    User Role Editor: version: 4.63.2, author: Vladimir Garagulya, Auto-updates disabled
    User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled
    WordPress Username Availability Checker: version: 1.1.8, author: BuddyDev, Auto-updates disabled
    WP Captcha: version: 2.0.0, author: Devnath verma, Auto-updates disabled
    WP Crontrol: version: 1.15.1, author: John Blackbourn & crontributors, Auto-updates disabled
    WP Fastest Cache: version: 1.1.1, author: Emre Vona, Auto-updates disabled
    WP Mail SMTP: version: 3.7.0, author: WPForms, Auto-updates disabled
    WP Migrate Lite: version: 2.6.1, author: WP Engine, Auto-updates disabled
    Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled
    Yoast SEO: version: 20.1, author: Team Yoast, Auto-updates disabled
    YoImages: version: 0.1.8, author: Sirulli, Auto-updates disabled
    
    wp-plugins-inactive (7)
    
    Akismet Anti-Spam: version: 5.0.2, author: Automattic, Auto-updates disabled
    All In One WP Security: version: 5.1.5, author: All In One WP Security & Firewall Team, Auto-updates disabled
    BuddyPress Security Check: version: 3.2.2, author: Shea Bunge, Auto-updates disabled
    BuddyPress Signup Avatar: version: 1.0.5, author: Brajesh Singh, Auto-updates disabled
    FakerPress: version: 0.5.3, author: Gustavo Bordoni, Auto-updates disabled
    SendGrid: version: 1.11.8, author: SendGrid, Auto-updates disabled
    Spam Destroyer: version: 2.1.3, author: Ryan Hellyer, Auto-updates disabled
    
    wp-media
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 768
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown
    
    wp-server
    
    server_architecture: Linux 5.4.0-1096-gcp x86_64
    httpd_software: nginx/1.21.5
    php_version: 8.0.26 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 256M
    max_input_time: 300
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    wp-database
    
    extension: mysqli
    server_version: 10.5.16-MariaDB-1:10.5.16+maria~focal
    client_version: mysqlnd 8.0.26
    max_allowed_packet: 33554432
    max_connections: 20
    
    wp-constants
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /www/rootsandshootsorg_350/public/wp-content
    WP_PLUGIN_DIR: /www/rootsandshootsorg_350/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: Undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    wp-filesystem
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    buddypress
    
    version: 10.6.0
    active_components: Community Members, Extended Profiles, Account Settings, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
    template_pack: BuddyPress Templates 10.6.0
    ! hide-loggedout-adminbar: No
    ! bp-disable-account-deletion: Yes
    ! bp-disable-avatar-uploads: Yes
    bp-enable-members-invitations: undefined
    bp-enable-membership-requests: undefined
    ! bp-disable-profile-sync: Yes
    ! bp_restrict_group_creation: Yes
    ! bp-disable-group-avatar-uploads: Yes
    ! bp-disable-group-cover-image-uploads: No
    ! bp-disable-blogforum-comments: No
    _bp_enable_heartbeat_refresh: Yes
    
    wp_mail_smtp
    
    version: 3.7.0
    license_key_type: lite
    debug: No debug notices found.
    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @haymondoooo,

    No problem. I still think this is something to do with your server environment. Most of my users will be on BP 11 now, so I would expect a huge rush of support tickets from our premium version. As you are on a staging site, can you please do the following:

    Switch to a default theme (such as twenty-twenty-two). Then, deactivate all plugins, and then activate BuddyPress 11, and finally BSR. This will get us to a point where it will be as if we have just installed the site. Let me know what happens.

    I have also just installed BSR and BuddyPress on a standard shared hosting account using the same theme and plugin stack as above, and outside of our test servers, to make absolutely certain there are no compatibility issues with BP 11. All activated without error.

    Thank you!

    • This reply was modified 1 year, 9 months ago by Ben Roberts.
    Thread Starter haymondoooo

    (@haymondoooo)

    I will clone this site to a test server and come back to

    Thread Starter haymondoooo

    (@haymondoooo)

    We cloned the site with enough resources
    Turned off all plugins, we then activated Buddy press, updated to 11 and this is fine.

    But as soon as Block, Suspend, Report for BuddyPress for Buddy Press enabled it still crashes with Fatal error:

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /www/rootsandshootsorg_350/public/wp-includes/class-wpdb.php on line 2153

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /www/rootsandshootsorg_350/public/wp-includes/plugin.php on line 511

    Below is WordPress health info:

    wp-core version: 6.1.1
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 0
    default_comment_status: open
    environment_type: development
    user_count: 42098
    dotorg_communication: true wp-paths-sizes wordpress_path: /www/rootsandshootsorg_350/public
    wordpress_size: 67.25 MB (70521836 bytes)
    uploads_path: /www/rootsandshootsorg_350/public/wp-content/uploads
    uploads_size: 7.11 GB (7634454821 bytes)
    themes_path: /www/rootsandshootsorg_350/public/wp-content/themes
    themes_size: 299.29 MB (313827190 bytes)
    plugins_path: /www/rootsandshootsorg_350/public/wp-content/plugins
    plugins_size: 96.33 MB (101011809 bytes)
    database_size: 1.86 GB (2001829888 bytes)
    total_size: 9.43 GB (10121645544 bytes) wp-active-theme name: Hello Elementor (hello-elementor)
    version: 2.6.1
    author: Elementor Team
    author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
    theme_path: /www/rootsandshootsorg_350/public/wp-content/themes/hello-elementor
    auto_update: Disabled wp-themes-inactive (5) Roots and Shoots Theme: version: 1.0, author: Taoti Creative, Auto-updates disabled
    WordPress Base Theme: version: 1.1.2, author: James Pfleiderer, Auto-updates disabled
    Twenty Twenty-One: version: 1.7, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.3, author: the WordPress team, Auto-updates disabled wp-mu-plugins (3) Kinsta Must-use Plugins: version: 3.0.0, author: Kinsta Team
    Taoti Core: version: 1.01, author: James Pfleiderer
    Theme Switcher: version: 1.0, author: James Pfleiderer wp-plugins-active (2) BuddyPress: version: 11.1.0, author: The BuddyPress Community, Auto-updates disabled
    Elementor: version: 3.11.1, author: Elementor.com, Auto-updates disabled wp-plugins-inactive (38) ACF Content Analysis for Yoast SEO: version: 3.0.1, author: Thomas Kr?ftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast, Auto-updates disabled
    Advanced Custom Fields: Table Field: version: 1.3.20, author: Johann Heyne, Auto-updates disabled
    Block, Suspend, Report for BuddyPress: version: 3.5.0, author: Bouncingsprout Studio, Auto-updates disabled
    BP Messages Tool: version: 2.2, author: PhiloPress, Auto-updates disabled
    BP Messaging Control: version: 1.7.1, author: Venutius, Auto-updates disabled
    BP Project Framework: version: 2.3.2.1, author: WDS Team, Auto-updates disabled
    Breadcrumb NavXT: version: 7.2.0, author: John Havlik, Auto-updates disabled
    BuddyPress Default Data: version: 1.3.1, author: slaFFik, Auto-updates disabled
    BuddyPress Login Redirect to Profile: version: 1.2.3, author: Brajesh Singh, Auto-updates disabled
    BuddyPress Xprofile Custom Field Types: version: 1.2.5, author: BuddyDev, Auto-updates disabled
    Category Order and Taxonomy Terms Order: version: 1.7.4, author: Nsp-Code, Auto-updates disabled
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled
    Disable Comments: version: 2.4.3, author: WPDeveloper, Auto-updates disabled
    Insert Headers and Footers Code - HT Script: version: 1.0.8, author: HasThemes (latest version: 1.0.9), Auto-updates disabled
    Invite Anyone: version: 1.4.3, author: Boone Gorges, Auto-updates disabled
    iThemes Security: version: 8.1.4, author: iThemes, Auto-updates disabled
    Jotform Online Forms: version: 1.3.1, author: Jotform, Auto-updates disabled
    LH User Taxonomies: version: 1.61, author: Peter Shaw, Auto-updates disabled
    ManageWP - Worker: version: 4.9.16, author: GoDaddy, Auto-updates disabled
    Native PHP Sessions for WordPress: version: 1.3.4, author: Pantheon, Auto-updates disabled
    Redirection: version: 5.3.9, author: John Godley, Auto-updates disabled
    Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Auto-updates disabled
    Roots and Shoots Reporting.: version: 0.1, author: Taoti, Auto-updates disabled
    Show Current Template: version: 0.4.6, author: JOTAKI Taisuke, Auto-updates disabled
    Taoti - Map Feature: version: 1.1.2, author: James Pfleiderer, Auto-updates disabled
    Taoti Migration.: version: 0.1, author: Taoti Creative, Auto-updates disabled
    Taoti RSS Reader: version: 1.01, author: James Pfleiderer, Auto-updates disabled
    TinyPNG - JPEG, PNG & WebP image compression: version: 3.4.1, author: TinyPNG, Auto-updates disabled
    User Role Editor: version: 4.63.2, author: Vladimir Garagulya, Auto-updates disabled
    User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled
    WordPress Username Availability Checker: version: 1.1.8, author: BuddyDev, Auto-updates disabled
    WP Captcha: version: 2.0.0, author: Devnath verma, Auto-updates disabled
    WP Crontrol: version: 1.15.1, author: John Blackbourn & crontributors, Auto-updates disabled
    WP Mail SMTP: version: 3.7.0, author: WPForms, Auto-updates disabled
    WP Migrate Lite: version: 2.6.1, author: WP Engine, Auto-updates disabled
    Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled
    Yoast SEO: version: 20.1, author: Team Yoast, Auto-updates disabled
    YoImages: version: 0.1.8, author: Sirulli, Auto-updates disabled wp-media image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 768
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown wp-server server_architecture: Linux 5.4.0-1096-gcp x86_64
    httpd_software: nginx/1.21.5
    php_version: 8.0.26 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 512M
    max_input_time: 300
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true wp-database extension: mysqli
    server_version: 10.5.16-MariaDB-1:10.5.16+maria~focal
    client_version: mysqlnd 8.0.26
    max_allowed_packet: 33554432
    max_connections: 20 wp-constants WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /www/rootsandshootsorg_350/public/wp-content
    WP_PLUGIN_DIR: /www/rootsandshootsorg_350/public/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 512M
    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: Undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined wp-filesystem wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable buddypress version: 11.1.0
    active_components: Community Members, Extended Profiles, Account Settings, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
    template_pack: BuddyPress Legacy 11.1.0
    ! hide-loggedout-adminbar: No
    ! bp-disable-account-deletion: Yes
    ! bp-disable-avatar-uploads: Yes
    ! bp-disable-cover-image-uploads: No
    bp-enable-members-invitations: undefined
    bp-enable-membership-requests: undefined
    ! bp-disable-profile-sync: Yes
    ! bp_restrict_group_creation: Yes
    ! bp-disable-group-avatar-uploads: Yes
    ! bp-disable-group-cover-image-uploads: No
    ! bp-disable-blogforum-comments: No
    _bp_enable_heartbeat_refresh: Yes
    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @haymondoooo,

    Thanks for trying. Okay, we will have to wait for some more data to come in, as we are currently unable to replicate this issue.

    In the meantime, I can only suggest you continue to use BuddyPress version 10, if you wish to continue using our plugin.

    I appreciate this isn’t what you want to hear right now.

    Ben Roberts

    Sorry if I answer just now but I wanted to debug this problem deeply since it’s not the first time it happens in our site.
    In fact, in my case, as I suspected, the problem is the number of users already registered on the site (about 50k). I discovered that if the get_users() function is called without specifying any restrictions (for example specifying only the fields that are needed, such as the user ID in this case) WordPress (rightly) gives an out-of-memory error.
    For now I’ve bypassed the problem by changing the instruction
    $users = get_users();
    in
    $users = get_users(array(‘fields’=>array(‘ID’)));
    in file ../includes/class-bp-toolkit-activator.php:71

    solving the problem.

    I advise you to correct the instruction to prevent other users from falling into this problem.

    Davide.

    Thread Starter haymondoooo

    (@haymondoooo)

    Hi there so do we need to do anything with our website? Or is this updated in a release we can download and if so where?

    Are you saying that I need to simply replace:
    $users = get_users();
    with
    $users = get_users(array(‘fields’=>array(‘ID’)));

    in this file: /includes/class-bp-toolkit-activator.php:71

    Hi, in my case it was enough, but it’s just a temp solution to test the plugin. Future release will overwrite script modifications.
    I’m not the plugin developer so you have to wait their answer for your specific problem.

    I’m sure @bouncingsprout will make you know what’s best to solve your problem (assuming the problem is the same).

    Plugin Author Ben Roberts

    (@bouncingsprout)

    Hey @budy74,

    That makes perfect sense to me – I will get started on a fix for this. Congratulations on having so many users on your site! Please tell me, does your memory issue happen on activation (before you even leave the plugins page)? I’m wondering if this is a separate issue.

    @haymondoooo, how many users do you have registered on your site?

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Crashes with latest version of BuddyPress?’ is closed to new replies.