AntiSaby
Member
Posted 10 months ago #
Hello Guys,
few days ago, i started getting this like errors "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/antisaby/public_html/wp-includes/class-simplepie.php on line 14440" ...i searched a bit and found that my webhosts's PHP memory limit was very less. But there wasnt php.ini file anywhere on my server or in WP folders..So i created a new one and set the limit to 256...i was still getting errors so i tried disabling plugins and it worked...there was a plugin "Email Users" that was causing this..then i upgraded WP.. i installed that plugin again and it was working properly..But when i added more plugins, i started getting that errors again in places like "WordPress Blog" box on dashboard, while uploading images and other....Plz tell me how do i solve this? I've tried increasing my PHP memory limit to 1024 MB....but still....Plz Help
But there wasnt php.ini file anywhere on my server or in WP folders..So i created a new one
That may not work. It depends upon the server configuration. Did you try any of the other options?
AntiSaby
Member
Posted 10 months ago #
but it works...i checked mydomain/phpinfo.php and it shows the memory that i wrote in php.ini
Hitting error problems when uploading images may be the result of the images rather than the site. How large are the image files?
AntiSaby
Member
Posted 10 months ago #
Image is just 160kb...See, i've noticed that everything messes up when i activate like 8 or more plugins....when i deactivae them, everything becomes fine..I've talked to my host, they increased the limit to 25GB!!!! but the problem is still there...I'm sure plugins are causing it..but why and how?
It's going to depend upon the individual plugins that you are using.
Image is just 160kb
That actually doesn't matter. How *big* are the images, in pixels? Larger images take more memory.
And it doesn't matter how much memory is on the hosting service, PHP is limited to 32Meg by default. If you need to increase the available PHP memory, there's a dozen ways to do it, but only one that will work on your hosting service.
If you're getting the same error of "Fatal error: Allowed memory size of 33554432 bytes exhausted", then your php memory is still set to 32M, regardless of what your phpinfo file says. Maybe you have it set for the wrong directory?
AntiSaby
Member
Posted 10 months ago #
Well, me and my hosting guys tried many ways to do it. Although phpinfo was showing the change but memory was still the same. THen she changed the memory in Config File on Server side and it worked!!!
Thanks a lot for your Replies Guys!