• Resolved andrewlowry

    (@andrewlowry)


    I look after a number of websites and on one particular host, I’m getting the same issue for all the websites with Wordfence installed.

    I have deleted Wordfence and its data and the site seemed to be OK for a while before the issue returns exactly the same as before.

    I’m chasing the web host to see what they have to say but not getting very far.

    I’m running:

    WordPress version 6.3
    Active theme: Hello Theme
    Current plugin: Wordfence Security (version 7.10.3)
    PHP version 7.4.33

    The error message is the same for all the websites:

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 24 of the file /home/XXX/public_html/wp-content/plugins/wordfence/views/reports/activity-report.php. Error message: require(): Failed opening required ‘/home/XXX/public_html/wp-content/plugins/wordfence/views/reports/../../lib/flags.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’)

    Any help would be appreciated.

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

    (@wfpeter)

    Hi @andrewlowry, thanks for getting in touch.

    We have seen this before on HostPresto, I’m not deliberately singling them out but just in case it’s relevant here. The reason was a bad malware signature in another tool that was deleting flags.php from the customer’s site. A reinstall had briefly worked, as in your case, but then the file had been deleted again later.

    The solution there was for the host’s support to identify the false-positive that was deleting the file and correct it.

    There’s a small chance it could be another security plugin on your site, but if you only have Wordfence installed for that purpose then contacting your host is probably the best route to take.

    Thanks,
    Peter.

    Thread Starter andrewlowry

    (@andrewlowry)

    Peter

    Yes, it is HostPresto and since they bought out my previous web host, their “false positives” have been a recurring issue – not just with Wordfence but various other themes and plugins.

    I’ll continue to pursue them for a resolution.

    Many thanks.

    Andrew

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

The topic ‘E_COMPILE_ERROR’ is closed to new replies.