Opening Newsletter list of posts takes more than a minute
-
Hello,
I’m getting more than a minute to load the page of newsletter with 3 newsletters. One is sending and anothers are just published. Each has ~5000 recipients.
I sart to dig into the code and found the problem in
functions/alo-easymail-newsletter-cpt.php in line 198 -> function alo_em_table_column_value -> in the line 200 alo_em_count_recipients_from_meta()
This direct me to the file functions/alo-easymail-recipients.php -> line 81 function alo_em_count_recipients_from_meta() witch the problem is in the line 87 were the plugin counts the array from the function alo_em_get_all_recipients_from_meta line 25And were start the problem. Since there is 2 newsletter to send just published the function dosen’t pick the $recipients[‘total’] and go from there the function makes the count of every single registered and since is arround 10.000 recipients this takes very long time to execute.
Can you please patch the correction for this?
To test you just create multiple newsletters with at least 3000 recipients in each and you will see that the page will get a long time to process even with a dedicated server.
Every else its working wonderfull even edit a newsletter the problem is in the list of newsletters.
- The topic ‘Opening Newsletter list of posts takes more than a minute’ is closed to new replies.