Troubleshooting
Debug quickly why the plugin isn't working
Make sure the Notification plugin and all the extensions are up-to-date!
The Recipients field is empty
Notification v7 uses WordPress' REST API to render the recipients field. You must ensure the /notification
endpoint is accessible and the API is accessible.
Nothing is sent
To debug the missing message (Carrier execution) please enable the Notification log in Notification > Settings > Debugging. All the executions will be caught there.
Please make sure the notification suppressing checkbox is turned off if you wish to send the message to the public.
If the notification gets caught, you can inspect the details (ie. if the recipient is set correctly) and if they seem to be ok, check if your WordPress is sending the emails (SMTP is set correctly?) or it can connect to the API (depends on the selected Carrier).
If the notification is not there, you probably found a bug. Please report it on Github.
Multiple Notifications are sent
Most of the time this is caused by the post editor saving the content multiple times. Ie. Gutenberg saves the main content in one request, taxonomy terms in another request, ACF saves the fields in another request, and so on.
Please activate the Background Processing feature to prevent this from happening.
Weird characters are being sent in the email
This might be related to the content encoding. You can try to define email header (activate that in Notification -> Settings -> Carriers -> Email) as follows:
Content-Type
text/html; charset=UTF-8
Cannot see the Custom Post Type on the Triggers list while creating a Notification
See:
Storage templates base path: .../wp-content/plugins/notification/src/templates must exists and be a directory
This error will most likely occur in tandem with: Warning: ftp_nlist() expects parameter 1 to be resource, null given
To make sure the plugin works, please add the following to your wp-config.php
:
Last updated