@tobybloem
This may be related to an issue with your wflogs folder, which is where the firewall configuration is stored. That folder should reside in the wp-content folder. Check that it exists there and has normal permissions.
You could also delete that wflogs folder, as it will regenerate on the next site visit. Deleting the folder will put the site into the 7-day Learning Mode. Once you delete it, go back to the site and try putting it into Enabled and Protecting and see if it sticks. Keep in mind you will lose any current Whitelsited URLs you have set in Wordfence > Firewall > All Firewall Options > Whitelisted URLs — you can screenshot those or copy them down first if need be.
Scott
Thanks @wfscott
I deleted the wflogs folder and tried to switch the firewall on again, and I’m having the same problem.
Curiously, looking in FTP, it hasn’t seemed to have created config.php, which I’m told should exist in this folder.
Diagnostic page still says it can read and write to ~/wp-content/wflogs
I second this issue. On all my websites with latest WP and WF versions
@tobybloem
Thanks for the information.
Could you please send over diagnostics to wftest@wordfence.com via Wordfence > Tools > Diagnostics > Send report by Email.
Please put your forum username in the 2nd field there and let me know here when it is sent.
Also, who is your hosting provider?
Thanks,
Scott
Thanks Scott,
I’ve sent that email now.
I’m self hosting with Azure app service on linux
@tobybloem
Sorry for the delay here. I’m not seeing anything in the diagnostics that would suggest needing changed.
Can you try changing one of the settings in Wordfence > All Options, such as one of the Brute Force or Rate Limiting settings and then click Save Changes on the top of the page and try refreshing the page. Do the changes stick or do they get reverted back?
If they are being reverted back, the database may be corrupt or have permission issues. I would recommend a complete re-install (and wiping the database tables). There is a setting in Wordfence > All Options > General Wordfence Options which makes this easier — Delete Wordfence tables and data on deactivation. If you enable that, simply deactivating the plugin will clear the tables. I recommend disabling the Extended Firewall first (Remove Extended Protection button in Wordfence > Firewall > All Firewall Options > Protection Level). If you see “Optimize Wordfence Firewall” there instead, you can skip that step.
You can then delete the plugin and re-install it and see if the same issues occur. If so, we will need to look at permissions issues.
Hi Scott,
I changed the Lock out after how many forgot password attempts and it did seem to work.
Regardless, I tried your complete re-install steps, and unfortunately I’m still seeing the same problems.