Site hardening - Wordfence status icons

On our install of MainWP we’re seeing a weird issue on the Site Hardening section across all our sites. On the initial page load the UI looks correct.

However this quickly changes to this:

Starting a new scan doesn’t change the UI and it never updates to show the true status. Logging into sites directly, Wordfence is showing the status correctly and updating as the scan progresses. Any issues that are found (out of date plugins etc) so pull through to the UI - it’s solely the status icons that seem to be broken.

Our install has been in place for sometime. We weren’t on the latest version, but have upgraded this morning to rule out a bug that has since been fixed. On the latest version we still see the behaviour. Looking at the network activity (dev console) there are no obvious errors, the JSON call returns the current state of the scan and the data within looks correct, showing the state of the scan and each sections outcome.

This is running on NGINX, PHP 8.4 on Ubuntu Server. As above, until this last week we haven’t had this issue before. So I don’t believe it’s a compatibility issue with server software/setup.

Hey @techeb

Welcome to the MainWP community.

I’ve managed to reproduce this issue. We will have a fix for it in the next Wordfence add-on release.

A fix for this issue was included in version 5.1.3 of the MainWP Wordfence add-on.

Thanks again for reporting this to us.