Hi @chickendipper
I hope you are doing well today.
We had a similar report 2 weeks ago and this was related to multisite:
https://ww.wp.xz.cn/support/topic/nuclear-option/#post-18242147
and we already have an improvement task for that matter. Please check what other user suggested in that matter as a temporary fix.
If however, your site is is not a multisite, could you check if there are any errors recorded in the logs related to the Broken Link Checker notification email?
Here is a plugin that can help with this: https://ww.wp.xz.cn/plugins/email-log/
Kind Regards,
Kris
Hello,
Thanks for the reply, I am not using multisite but have tried the fix (changed false to true in the class-model.php if statement.
I already have email logging and no email is generated or logged at all so it is not an email issue.
Thank you
3 dead links where found on my site overnight, while there was already 1 existing dead link in the list.
No email has been received or generated as logs shows this.
Further to this, if I de-activate and re-activate the plugin the email is sent for any links in the list.
Should I setup a cron to de-activate and re-activate the plugin once a day?
Hi @chickendipper,
I hope you are doing well today!
Thank you for providing the additional details. It seems like the issue might be related to how the plugin triggers email notifications, especially since reactivating the plugin sends out the emails.
Ensure that you are using the latest version of the Broken Link Checker plugin. Updates often contain bug fixes that might address this issue.
There might be a conflict with another plugin or theme. Try temporarily deactivating other plugins to see if the issue persists. You can also switch to a default theme like Twenty Twenty-One to rule out theme conflicts.
Instead of setting up a cron job to deactivate and reactivate the plugin, which is more of a workaround than a solution, consider checking if there are any issues with WordPress cron jobs on your site. Sometimes, scheduled tasks may not run as expected if there are issues with cron.
Enable debugging in WordPress to see if any errors are logged when the plugin is supposed to send an email. Add the following lines to your wp-config.php file:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Check the wp-content/debug.log file for any errors related to the plugin.
Please let us know if you need further assistance or if there is anything else we can do to help.
Kind regards,
Zafer
Hi,
Changed cron timing for 24hours to less for the maybesendmail function.
Works now.
Thanks