Hi,
I just now was also having the same issue as you. Here’s how I fixed it:
I added the following code to my theme’s functions.php file:
function my_easymail_ajaxloop_recipient_limit ( $limit ) {
return 5000; // set here the number of recipients added per ajax call
}
add_filter( 'alo_easymail_ajaxloop_recipient_limit', 'my_easymail_ajaxloop_recipient_limit' );
All credit for this goes to the helpful theme author.
I was trying to build a list of ~20,000 subscribers. It was simply taking forever, but with this quick fix, it only takes a moment to create the list of recipients. I can probably even increase it to even more than 5,000 (and probably will in the future), but for the meantime, 5,000 worked just fine for me. Also, I’m not on shared hosting.
How many subscribers are you trying to add to the list, and what kind of hosting are you on (Shared/VPS/Dedicated)?
One more thing… (make sure max_execution_time is high enough)
The past day or so, I was trying to create a list with ~21,000 recipients. However, it was not working. It was slowing down my entire WordPress site. Then, when I tried disabling Ajax, upon saving the newsletter, I would just get a white screen.
Finally, I looked at the error log and found the problem–the max execution time: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /../wp-content/plugins/alo-easymail/functions/alo-easymail-recipients.php on line 68" while reading upstream
I increased my max_execution_time and things are working again like they should.
Hi
I actually overlooked your answer. However this does not solve my issue at all, it the recipient list build keeps stalling.
I’m not even adding a huge amount of e-mail, only 44…
It might be related to a Polylang issue though, as the list is not built for members using a different languauge than English.
Did you try disabling temporary Polylang and then create a newsletter and generate the recipient list?
Hello
Tried without Polylang, and it is still stuck.
Hi, have you tried disabling all other plugins and switched to a default theme?