Title: E_COMPILE_ERROR
Last modified: August 10, 2023

---

# E_COMPILE_ERROR

 *  Resolved [andrewlowry](https://wordpress.org/support/users/andrewlowry/)
 * (@andrewlowry)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/e_compile_error-49/)
 * 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 ThemeCurrent 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](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/e_compile_error-49/#post-16962152)
 * Hi [@andrewlowry](https://wordpress.org/support/users/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](https://wordpress.org/support/users/andrewlowry/)
 * (@andrewlowry)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/e_compile_error-49/#post-16962191)
 * 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.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [andrewlowry](https://wordpress.org/support/users/andrewlowry/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/e_compile_error-49/#post-16962191)
 * Status: resolved