• Resolved chickendipper

    (@chickendipper)


    Email notifications about broken links seem to send out sometimes but mostly not.

    My wordpress site email is working fine generally as I can get any other email from wordpress, user accounts, password resets, etc.

    I was getting none, so I rebuilt the link index and nothing, I disabled and enabled the plugin and got 1 email about 1 broken link, since then 3 more links have been found but no more emails have been sent.

    Can we have a way to control email notifications a bit better, so every time a broken link is found we are notified and even if it was working, was fixed and then is broken again for example.

    Currently unsure exactly when the notifications should be triggered.

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @chickendipper

    I hope you are doing well today.

    We had a similar report 2 weeks ago and this was related to multisite:
    https://www.ads-software.com/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://www.ads-software.com/plugins/email-log/

    Kind Regards,
    Kris

    Thread Starter chickendipper

    (@chickendipper)

    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

    Thread Starter chickendipper

    (@chickendipper)

    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.

    Thread Starter chickendipper

    (@chickendipper)

    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?

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    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

    Thread Starter chickendipper

    (@chickendipper)

    Hi,
    Changed cron timing for 24hours to less for the maybesendmail function.
    Works now.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.