BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › BuddyPress for Sensei Database ERROR
- This topic has 34 replies, 5 contibutors, and was last updated 9 years, 2 months ago by Dennis.
Question
August 21, 2015 at 7:53 pm #44873@kahunaburgerI get a memory error when opening the BuddyPress for Sensei admin page. Increasing memory will not fix this issue. It’s timing out because we have over 50,000 members on our development site (many more on our live site). The convert user roles is causing a database error and will not allow the page to load.
Answers
August 23, 2015 at 10:36 am #44964@
AnonymousHi @kahunaburger, how many user role you are trying to convert at a time? if you will change user roles more than 50 at a time it will create issue based on general PHP configuration of servers.
You can extend your server specific parameters for
max_execution_time
max_input_time
max_input_varsRegards
August 23, 2015 at 4:35 pm #44981@kahunaburgerYou are not getting what I’m saying. It won’t load the admin page. I can’t even get to where it asks me if I want to convert anyone.
August 24, 2015 at 1:10 am #44993@
AnonymousHi @kahunaburger, are you getting specific warning or notice when debug is on, or something inside error log ?
Regards
August 24, 2015 at 1:52 am #44994@kahunaburgerFatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 32 bytes) in …/wp-includes/cache.php on line 24
August 31, 2015 at 7:03 am #45443@kahunaburgerSo what’s going on with this?
September 1, 2015 at 4:52 am #45498@rugwarriorTry putting this in your wp-config.php file:
define( ‘WP_MAX_MEMORY_LIMIT’, ‘384M’ );
Or at least 288M
Kind regards
September 1, 2015 at 10:50 am #45527@kahunaburgerSeriously? Why don’t you try fixing it.
PS
Our memory is set at 1Gig.September 1, 2015 at 1:10 pm #45537@rugwarriorBut the error message days that you have a limit of 256MB…
September 1, 2015 at 1:27 pm #45541@kahunaburgerYou really are going out of your way not to fix anything. I increased it to 1 gig and got the same thing.
September 1, 2015 at 2:00 pm #45543@kahunaburgerLet me save you some time… I have been coding since the early 80’s when I got my first Texas Instruments PC for X-mas. I have been working with BP when it was in beta. It will save a ton of time when I say something is broken in our code if you just take my word on it. 😉
September 3, 2015 at 11:57 am #45702@alyssa-buddyboss
AlyssaParticipant@kahunaburger please speak kindly to other members of the community. They are simply trying to help you resolve your issue from their experience.
Because the issue is the admin interface and cache.php I’m not entirely certain this is a theme/plugin issue. I have found an interesting discussion that may be useful to you here: https://core.trac.wordpress.org/ticket/4045#comment:4
Additional resource: http://sakinshrestha.com/wordpress/fix-php-fatel-error-for-wordpress/September 3, 2015 at 12:02 pm #45704@kahunaburger@rugwarrior Sorry I thought you where a dev. I was upset because they already asked me that. Thanks for trying to help. 🙂
@tjchester It’s an issue with the plugin.
September 4, 2015 at 10:47 am #45754@alyssa-buddyboss
AlyssaParticipant@kahunaburger do your server logs have information on the query generating this error?
September 4, 2015 at 11:08 am #45756@kahunaburgerI gave you the error. You are trying to query the entire user database. You have not built this plugin for scale.
- The question ‘BuddyPress for Sensei Database ERROR’ is closed to new replies.