Title: Debugging a multisite install
Last modified: December 11, 2020

---

# Debugging a multisite install

 *  Resolved [larnoult](https://wordpress.org/support/users/larnoult/)
 * (@larnoult)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/)
 * Hello,
    I’m running a multisite install (simple, not multi network). Buddypress
   and BuddyPress Group Email Subscription are both network activated. BuddyPress
   Group Email Subscription only sends mails if users choose “receive every mail”
   option. Summary (daily and weekly) mails or admin notice are not being sent. 
   I would like to debug, so [following your guide](https://github.com/boonebgorges/buddypress-group-email-subscription/wiki/How-to-troubleshoot-missing-emails),
   I added in my config.php
 *     ```
       define( 'BPGES_DEBUG', true );// https://github.com/boonebgorges/buddypress-group-email-subscription/wiki/How-to-troubleshoot-missing-emails
       define( 'BPGES_DEBUG_LOG_PATH', dirname( __FILE__ ) . '/wp-content/uploads/BPGES/');
       ```
   
 * Yet, no log shows up in this folder.
    Furthermore, when I visit this /?sum=1 
   page, I can see many many mails.. I guess this confirms they haven’t been sent?
   Simiarly, I visited the `wp_bpges_queued_items` SQL table, and it’s populated
   by many entries (of sum, dig and immediate types).
 * I also installed WP-cron. In the event tab, I cannot see any BPGES looking job(
   although I could’nt find which job title to look for – I tried emp_cron_emails_queue,
   [based on this support thread](https://wordpress.org/support/topic/wordpress-multisite-buddypress-2/))
 * Thanks for directing me how I can advance in the debugging.
    Best,

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Boone Gorges](https://wordpress.org/support/users/boonebgorges/)
 * (@boonebgorges)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13776643)
 * Hello – The `BPGES_DEBUG_LOG_PATH` won’t work because it’s not a full file path.
   Try:
 *     ```
       define( 'BPGES_DEBUG_LOG_PATH', dirname( __FILE__ ) . '/wp-content/uploads/BPGES/bpges.log');
       ```
   
 * > I also installed WP-cron. In the event tab, I cannot see any BPGES looking 
   job (although I could’nt find which job title to look for – I tried emp_cron_emails_queue,
   based on this support thread)
 * I assume you mean wp-crontrol? You should be looking for `ass_digest_event`. 
   If you don’t see it, try visiting the settings panel, then changing the digest
   send time and saving the changes. This should reschedule the event.
 *  Thread Starter [larnoult](https://wordpress.org/support/users/larnoult/)
 * (@larnoult)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13777033)
 * Thanks [@boonebgorges](https://wordpress.org/support/users/boonebgorges/) for
   your kind and usefull feedback.
    Updating the full path did the trick. And yes,
   changing digest send time and saving changes made `ass_digest_event` appear in
   the wp-control tab … And digest were successfuly sent! Maybe adding this 2 informations
   to your debugging/troubleshoot github page would help others like me?
 * Last issue concerns the “All Email notifications”. I tested that send one in 
   a public group containing 7 members … The only user receiving mail is the one
   that set its option to “all mails”. I was expecting this feature to overcome 
   the choice of users (for daily or weekly digest), right?
    The log works, but 
   does not look to helpful unfortunately:
 *     ```
       [11-Dec-2020 14:27:13] Beginning batch of immediate notifications for 6540.
       [11-Dec-2020 14:27:14] Finished sending immediate notifications for 6540. A total of 1 notifications were sent over all batches.
       ```
   
 * Any idea what might go wrong?
    Thanks again!
 *  Plugin Author [Boone Gorges](https://wordpress.org/support/users/boonebgorges/)
 * (@boonebgorges)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13778528)
 * > And digest were successfuly sent! Maybe adding this 2 informations to your 
   debugging/troubleshoot github page would help others like me?
 * Very glad to hear it! Thanks for the suggestion – I will add this information.
 * > Last issue concerns the “All Email notifications”. I tested that send one in
   a public group containing 7 members … The only user receiving mail is the one
   that set its option to “all mails”. I was expecting this feature to overcome 
   the choice of users (for daily or weekly digest), right?
 * Can you explain what you mean by “All email notifications”? Exactly what are 
   you testing?
 *  Thread Starter [larnoult](https://wordpress.org/support/users/larnoult/)
 * (@larnoult)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13780029)
 * Sorry the last part of my thread was not very clear.. I’m talking about the admin
   notification feature: according to your plugin’s description “Group admins can
   send out an email to all group members from the group’s admin section. The email
   will be sent to all group members regardless of subscription status”
 * When I’m sending such admin notification from a group’s admin section, members
   of this group do not receive the corresponding mail (unless they have set their
   digest notification option to ‘all Email’).
    Who can I debug this feature? Since
   there is not much in the log. Thanks again!
 *  Plugin Author [Boone Gorges](https://wordpress.org/support/users/boonebgorges/)
 * (@boonebgorges)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13793675)
 * > When I’m sending such admin notification from a group’s admin section, members
   of this group do not receive the corresponding mail (unless they have set their
   digest notification option to ‘all Email’).
 * Aha, thanks for the clarification. This feature changed its behavior in version
   4.0.0. See [https://github.com/boonebgorges/buddypress-group-email-subscription/issues/183#issuecomment-545129795](https://github.com/boonebgorges/buddypress-group-email-subscription/issues/183#issuecomment-545129795)
   for some discussion, and for a description of how to override the new behavior.
 *  Thread Starter [larnoult](https://wordpress.org/support/users/larnoult/)
 * (@larnoult)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13806998)
 * Thx for the feedback!
    Adding `add_filter( 'bpges_force_immediate_admin_notice','
   __return_true' );` indeed fixed the feature. I guess adding that to your wiki
   would also be valuable 🙂 Thanks again for your great plugin, a must have! I 
   just left a 5 star review!
 *  Plugin Author [Boone Gorges](https://wordpress.org/support/users/boonebgorges/)
 * (@boonebgorges)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13808839)
 * Excellent, thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Debugging a multisite install’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-group-email-subscription.
   svg)
 * [BuddyPress Group Email Subscription](https://wordpress.org/plugins/buddypress-group-email-subscription/)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-group-email-subscription/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-group-email-subscription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-group-email-subscription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-group-email-subscription/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Boone Gorges](https://wordpress.org/support/users/boonebgorges/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/debugging-a-multisite-install/#post-13808839)
 * Status: resolved