Not sure email notification went out
I was looking in my email for a message I had sent out to multiple groups -- https://commons.gc.cuny.edu/groups/cuny-committee-on-academic-technology-62702785/forum/topic/cuny-academic-commons-redesign-survey/ -- and I didn't see an email notification. Since I cc'ed many more groups than I normally do, I wanted to check in to see whether a notification actually went out via email. Is that something you might be able to check? It's possible, of course, that my email diagnosed the message as spam or that I otherwise missed it.
#3 Updated by Raymond Hoh 6 months ago
I forgot that in #13457, I created a debug log for the Multiple Forum Post plugin to diagnose instances like this.
I just checked the log and the duplicate activity portion of the logger did not record anything for the mentioned forum topic. So I took a closer look and I believe the problem stems from creating a forum topic to too many groups. Your topic was cross-posted to 30 groups; creating 30 forum topics takes a long time in bbPress. I just checked the creation time for the first forum topic and it posted at
2021-01-19 18:26:04 and the last duplicated forum topic was created at
2021-01-19 18:27:14. This took 70 seconds, which is quite long.
I'm guessing that the script died shortly after the duplicate topics were created and didn't get to the activity creation portion of the code located here: https://github.com/cuny-academic-commons/bp-multiple-forum-post/blob/685bc9d91b118bb8516c6e2f690339f8c1623c57/bp-multiple-forum-post.php#L207
Boone, I tried to check the PHP error logs, but I couldn't find a PHP fatal error for max execution time during this time period though.
I've added some additional debug points so I can get some more data, but for now, I've added a potential fix on production to ensure that the script execution time is disabled during multiple forum posting. Boone, the modified portion is at
bp-multiple-forum-post/includes/class-bpmfp-async-duplicate-topic.php. I will most likely commit this in the next week or so.
#7 Updated by Raymond Hoh 6 months ago
Thanks, Ray. If I were to repost this, is there a max number of groups I should cc, or has the change you made obviated the need for that?
In theory, the max number of groups should work, but if you want to be cautious, I'd split up the number of groups to 10 or so.