Home › Forums › Newsletter Plugin Support › Memory Problem
- This topic has 10 replies, 2 voices, and was last updated 9 years, 6 months ago by
FurorGermanicus.
-
AuthorPosts
-
March 5, 2014 at 8:33 pm #10603
FurorGermanicus
ParticipantOkay, now I have another problem. Up until now people could register for the newsletter but now they receive this error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3072 bytes) in /www/htdocs/w010638f/aesirsports/wp-content/extensions/newsletter/subscription/email.php on line 19
I know that I had a similar problem once and fixed it with setting up the memory in a .php file.
I tried to up the memory in config.php & setting.php to 128M but it didn’t work (also tried it in htacess)
What am I doing wrong here? How can I solve the problem? Would be thankful for input
cheers
DamianMarch 5, 2014 at 8:55 pm #10605Stefano
KeymasterYou need more than 128M. Probably you have many other plugin or a complex theme which are using a lot of memory.
March 5, 2014 at 9:02 pm #10608FurorGermanicus
ParticipantYeah, thats what I thought, but I don’t know how to fix the issue. Its a big ass responsive theme and not so many plugins.
March 5, 2014 at 9:04 pm #10610Stefano
KeymasterAdd to your config.php:
define(‘WP_MEMORY_LIMIT’, ‘160M’);
check before if there is already a code like that, in that case just change the existent code.
March 5, 2014 at 9:27 pm #10612FurorGermanicus
ParticipantOkay, I just saw in the “diagnostics” that:
PHP Memory Limit 256M WordPress Memory limit 256M
so it SHOULD work, but it doesn’t. I’ll try to delete the “extensions” folder. Just a hunch…
March 5, 2014 at 9:29 pm #10613Stefano
KeymasterHi, the admin memory limit is always reaised to 256 by wordpress, but the frontend uses the PHP limit if not forced with the previous code.
March 5, 2014 at 9:35 pm #10614FurorGermanicus
ParticipantI deleted the wp_content/extensions folder with the additional plugins (report etc.) and now it is working. This means I cannot use the plugins I paid for as far as I can see.
March 5, 2014 at 9:42 pm #10615Stefano
KeymasterThe newsletter plugin need some memory. Probably if you add another big plugin you will get the same problem. So if your blog need all the plugins you have installed but you cannot raise the memory, yes, start a refund ticket and use Newsletter basic version. Removing the extension you’ll use less memory. Probably if another plugin will be installed some other things will raise an out of memory error.
I cannot do much in this case. Let me know the order number in my private email so i can start a refund (stefano@satollo.net).
March 5, 2014 at 9:53 pm #10616FurorGermanicus
ParticipantOkey-doke. Will do. I deleted all unnecessary plugins I could think of, but it still doesn’t work.
I’ll send you an e-mail with the order number in an instant.
Thanks for the effort, Stefano.
March 7, 2014 at 11:30 am #10636Stefano
KeymasterHi, I refunded you, but now I saw the problem. You copied the email.php file in the extensions folder, that create a loop!
You should copy the email-alternative.php as explained in the files renaming it email.php.
March 7, 2014 at 11:42 am #10637FurorGermanicus
ParticipantHey Stefano,
I switched to MailChimp by now, unfortunately. (Although I was more satisfied with your plugin, to be honest). If I’ll experience problems with the chimp I’ll give the newsletter plugin another shot. Promised!
Thanks for your effort.
cheers
Damian -
AuthorPosts
- You must be logged in to reply to this topic.