• Resolved rdwebstuff24

    (@rdwebstuff24)


    Hi there, I am having issues with Wordfence rules not automatically updating on a couple of my websites that are hosted with siteground. Most are updating properly and I don’t understand why a couple are not. This is the message I get The last rules update for the Wordfence Web Application Firewall was unsuccessful. The last successful update check was March 4, 2026 7:28 am, so this site may be missing new rules added since then. You may wait for the next automatic attempt at March 19, 2026 1:14 am or try to Manually Update by clicking the “Manually Refresh Rules” button below the Rules list.
    I have asked Sitegroud what is going wrong and they have not found any issues from a server point of view.
    How Do i fix this and not have to manually refresh each time I go to the admin

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @rdwebstuff24,

    If automatic rules updates have been working fine up until now, file and database permissions are likely to be OK unless something has changed at the host’s end recently. Am I right in assuming from your question that manually hitting the update button works? If it does, then there may not even be a problem with the files involved. It’s still worth a try to clear them out, though.

    Manually removing the wp-content/wflogs folder’s contents (or the whole wflogs folder) via FTP or hosting file manager should stand a good chance of solving the issue as a file may have become corrupt. Wordfence should try to recreate the folder and files automatically within 30 minutes (usually much sooner).

    You can bypass using the wflogs folder entirely by setting logs to use the MySQLi storage engine instead if you wish: https://www.wordfence.com/help/firewall/mysqli-storage-engine/

    If none of that helps, see if any of your WP Cron jobs are overdue. We provide this on the Wordfence > Tools > Diagnostics page under “Cron Jobs”. The automatic rules updates along with scans and other WordPress plugins may be affected if those aren’t firing.

    Many thanks,
    Peter.

    Thread Starter rdwebstuff24

    (@rdwebstuff24)

    Hi Peter, thanks for getting back to me. This hasn’t just happened I don’t think. This website never did these automatically I don’t think.

    I have deleted that wflogs folder and refresh the site. That message came straight back up. I will wait the 30 minutes to see what happens.

    Thread Starter rdwebstuff24

    (@rdwebstuff24)

    I refreshed the rules manually because the message was still there. When I look at the cron jobs there are items there from yesterday that should have been done. 11 items from 16th.
    What wouldl you suggest now.
    I looked at bypassing the wflogs folder but that looks abit daunting to do??

    Plugin Support wfpeter

    (@wfpeter)

    Hi @rdwebstuff24,

    I suspect that if the crons are becoming overdue then that is more likely the issue than the difference between using the /wflogs files or MySQLi, so don’t worry about changing that for now.

    You may need to ask your host if there are any errors in your PHP/server logs around the time those are scheduled to run, if you can’t check them yourself. Sometimes a conflict or broken plugin hook can silently kill the entire WP Cron queue. This can also be linked to max_execution_time. It’s worth ensuring your max_execution_time is 60 or less (but not 0 which is “unlimited”) in php.ini and WP_MEMORY_LIMIT is 256M or higher in wp-config.php.

    Thanks again,
    Peter.

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

You must be logged in to reply to this topic.