-
Notifications
You must be signed in to change notification settings - Fork 32
How to troubleshoot missing emails
Boone Gorges edited this page Nov 22, 2019
·
2 revisions
Starting with version 3.9, email digests are sent asynchronously, using the WP_Background_Process
library. Both immediate emails ("All Email") and daily/weekly digests are sent using this system. If users are not receiving notifications, here's where to begin debugging:
- Are users properly subscribed to activity in the group? Check the
wp_bpges_subscriptions
table. - Are activity items being queued properly in
wp_bpges_queued_items
? - Background processes depend on the server's ability to ping itself, via a self-request to {server}/wp-admin/admin-ajax.php. Is your server configured to prevent these types of request? Check your access logs for potential issues.
- Enable logging by placing the following in your wp-config.php file:
define( 'BPGES_DEBUG', true );
. By default, the log file is calledbpges-debug.log
, and is in your primaryuploads
directory (usuallywp-content/uploads
). Customize the log location using theBPGES_DEBUG_LOG_PATH
constant. - Is WP's "cron" system disabled? BPGES needs this system in order for async emails to be sent.