Support » Plugin: FeedWordPress » FeedWordPress email_diagnostic_log slowing down page loads

  • Hi,

    We were noticing super slow load times for our wp-admin pages. After lots and lots of debug statements we found that the culprit was FeedWordPress. It has a registered shutdown event email_diagnostic_log which apparently sends emails to the admins of the blog if there are errors.

    For the recipient list it wants to use an option called “feedwordpress_diagnostics_log_recipients”. I can’t see how that ever gets set… so for us it is NULL. This means that the code then goes out to figure out who are all the admins for this site. That takes quite a long time when you have lots and lots of users.

    The saddest thing is that the next step it takes is to decide if it should even be sending errors at this time. It has a nice way of only running this code once a day, but unfortunately the most expensive chunk of code (in our case) is located OUTSIDE of this check.

    If the authors could move the building of recipients inside the time-checked loop, this would be much more efficient.

Viewing 3 replies - 1 through 3 (of 3 total)
  • This must be what is happening to me. Every time I enable this plugin it brings my site to a crawl. We also have lots and lots of users.

    If this could be fixed or if there is a workaround that would be good to know.


    Same thing is happening to me. I’m not using the log so a quick and dirty fix for me was to remove all of the code inside the function email_diagnostic_log () in feedwordpress.php. I’m sure I can come up with a more elegant solution then just ripping out code but I don’t have the time for it at the moment. Site seems to be running much faster now. Hopefully the devs push out an update that really addresses the issue.

    Has anyone found a less hacky solution to this yet?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘FeedWordPress email_diagnostic_log slowing down page loads’ is closed to new replies.