Title: E_COMPILE_ERROR When Using PHP 7.4.6
Last modified: July 1, 2020

---

# E_COMPILE_ERROR When Using PHP 7.4.6

 *  [mcmwebsol](https://wordpress.org/support/users/mcmwebsol/)
 * (@mcmwebsol)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/e_compile_error-when-using-php-7-4-6/)
 * I’m getting an E_COMPILE_ERROR now that I’ve upgraded to PHP 7.4.6. Is there 
   a fix for this?
 * Below are the details:
 * WordPress version 5.4.2
    Current plugin: iThemes Security (version 7.7.1) PHP
   version 7.4.6 Error Details ============= An error of type E_COMPILE_ERROR was
   caused in line 3 of the file /home/sitenamehere/public_html/wp-content/plugins/
   better-wp-security/core/modules/ban-users/active.php. Error message: require_once():
   Failed opening required ‘/home/sitenamehere/public_html/wp-content/plugins/better-
   wp-security/core/modules/ban-users/class-itsec-ban-users.php’ (include_path=’.:/
   opt/cpanel/ea-php74/root/usr/share/pear’)
 * Thanks

The topic ‘E_COMPILE_ERROR When Using PHP 7.4.6’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=2980272)
 * [Solid Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mcmwebsol](https://wordpress.org/support/users/mcmwebsol/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/e_compile_error-when-using-php-7-4-6/)
 * Status: not resolved