[Defender] Having issues with Defender

We see the following issues with the Defender plugin:

– Defender File Scan hangs at 25%.
– Defender is causing this problem: Background updates error: A plugin has prevented updates by disabling wp_version_check().
– Defender is also causing this problem: The REST API encounters an unexpected error.
– Unable to complete Loopback request/failed.
– The scheduled event, cleanUpOldLog, failed to run.
– PHP errors in the log file.

Please advise.

  • Dimitris Kalliris
    • Support Team Lead

    Hello Rawson

    – Defender File Scan hangs at 25%.

    I can see that file scanning is finished now. I also reviewed 5 reported files and marked them as “ignored” as they were some false-positives (suspicious functions used properly in plugins though).

    – Defender is causing this problem: Background updates error: A plugin has prevented updates by disabling wp_version_check().
    – Defender is also causing this problem: The REST API encounters an unexpected error.
    – Unable to complete Loopback request/failed.
    – The scheduled event, cleanUpOldLog, failed to run.

    Can you please let me know if you performed a conflict test that showed that the Defender is causing all of that? Cause it seems rather strange. Like for example, the “WordPress REST API” security tweak is ignored. By conflict test, we mean a state where only the affected plugin or theme is enabled, along with WPMUDEV Dashboard and Defender.

    By having a look at your site, it seems that the “Search Engine Visibility” option could also be affecting the above points as well:
    [attachments are only viewable by logged-in members]
    This option could give issues for services/requests that coming into your site from the outside or vice versa. Could you try to temporary disable this option and check again?

    – PHP errors in the log file.

    I could find the following errors:

    PHP Warning: Cannot modify header information - headers already sent in /var/web/site/public_html/wp-content/plugins/wp-defender/app/module/ip-lockout/controller/main.php on line 175
    PHP Warning: Cannot modify header information - headers already sent in /var/web/site/public_html/wp-content/plugins/wp-defender/app/module/ip-lockout/controller/main.php on line 174

    As I can’t replicate those in my testing site, I’ve contacted the Defender lead developer to provide some more insights. I’ll keep you posted here as soon as possible! :slight_smile:

    Thank you,
    Dimitris