Support Forum
Hey all,
I purchased a Gold Membership today and wasted no time adding three plugins to Simple Press.
- Subscriptions
- Tiny MCE
- BuddyPress
Upon uploading the third plugin (BuddyPress) I received the following error:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /home/mhallet/public_html/home/wp-includes/cache.php on line 512
I have only a general awareness of php, so I wanted to get your guys' opinions before I start throwing wrenches around near moving parts. All I did was upload the plugin using the SP plugin uploaded from the WordPress admin panel. I did not upload any of the new plugins through an FTP or anything of the sort.
This is a time sensitive matter as my site forum is down with the error message until things clear up.
Put simply, the 'bigger' your website then the more php memory it needs to successfully run. Every WP theme option and every extra plugin ups the requirements. And you have run out! Or at least you are running out during some memory intensive operations.
As the years have gone by the core WordPress requirements have gone up and up and both BuddyPress and Simple:Press a both largish before we take into consideration any other plugins you may have.
Normally I would point you to our FAQ on the subject (https://simple-press.com/docum.....of-memory/) and it would still be worth giving that quick solution a try. But you are clearly already consuming 256MB so you will need to adjust the value higher than that.
It is also always a good time to just check that you are not loading anything you do not need or no longer want. Any WP plugins that you may have tried out once but not deactivated etc., all add to the dstarin of your php memory needs. Of you can lighten that load it is always worth it whether you are close to the edge or not.
In the end you may need to ask your host for a lift. In my own experience they are usually not hostile to such requests.
YELLOW
SWORDFISH
|
Thanks for the quick reply.
I have been in contact with my host. They say there are no problems on their end regarding my site.
I have also tried increasing the WP_MEMORY_LIMIT to 512M, to no avail. Increasing it to 1024M did not work either.
At this point everything I'm reading says I should start looking at my .htaccess file. Is this the right way to go?
I am not that knowledgeable on htaccess I am afraid. Mr Papa knows more but he will be sleeping now!
If you are getting an our of memory error with 512MB set then I would suspect that your host is not allowing that sort of dynamic increase suggesting as we said, that you may need to ask them for an actual increase.
YELLOW
SWORDFISH
|
Ok, I also edited the default-constants page (located in wp-includes. I no longer get the error, but my site is taking a ridiculously long time to load if it even loads at all.
At this point I'd just like to disable the new SP plugins I bought so my forum is as least operational. Is there a way to do this from my hosting admin panel? I'm grasping for any kind of solution that will get my site back online and I'll tinker more offline.
Well, for the time being I have renamed the SP plugin so it deactivated itself. As soon as I restore the original name I get the same memory problems and my site is constantly trying to load.
I will look at ways I can reduce memory usage, but I think that there's a bigger underlying issue. My SP forum is offline for now, unfortunately, but at least the rest of the site is operational now. Hopefully we can resolve this soon.
Sorry - I was just about to come back and say that this doesn't sound like a normal memory issue.
So - it is the BuddyPress Integration plugin you are having the issue with. Is that right? Are all other non-SP components up to date? WordPress itself and the main BuddyPress plugin? I know there was an issue at some stage quite a while back with a BP setting bit as far as I was aware this had all been resolved. I will see if I can find the thread...
YELLOW
SWORDFISH
|
All plugins and themes are up to date. I am also using the latest version of WordPress.
I believe the problem is with the BuddyPress addition, but I can't really isolate it to be certain (at least I don't know how to). I have not had any fatal errors regarding memory in a long time, and it happened pretty much instantly after I used the SP auto-installer for the BuddyPress addition.
Found it... there was an issue over a year ago that would cause a memory error when the notifications module of buddypress was disabled. This was, of course, fixed.
On that particular occasion, @mr-papa - who works our BP plugin, suggested that the user...
uninstall our buddypress plugin… deactivate the wp buddypress plugin… activate our buddypress plugin.. then activate the wp buddypress plugin…
And the user came back and said that this resolved it. Trouble is, I have no idea why he made that suggestion! Might be worth a quick try...
YELLOW
SWORDFISH
|
1 Guest(s)