Title: E_COMPILE_ERROR
Last modified: September 27, 2021

---

# E_COMPILE_ERROR

 *  Resolved [annzo](https://wordpress.org/support/users/annzo/)
 * (@annzo)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/e_compile_error-34/)
 * Hi, i use Two-Factor-Plugin and iThemes Security Pro (Version 7.0.3), PHP-Version
   7.4.19 and WordPress 5.8.1
 * Since last week both plugins in combination cause the following E_COMPILE_ERROR
   even though Two-Factor-Addon in iThemes Pro is disabled (!) for all users.
 * E_COMPILE_ERROR in line 13 /www/htdocs/********/********/wp-content/plugins/ithemes-
   security-pro/core/modules/two-factor/providers/class.two-factor-provider.php
   “
   Cannot declare class Two_Factor_Provider, because the name is already in use”
 * iThemes do not have a suggested solution, since 2FA is disabled in their plugin.
   But they offer you a free developer copy if i send them your email-adress.
 * Any ideas to solve the problem? Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kaspars](https://wordpress.org/support/users/kasparsd/)
 * (@kasparsd)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/e_compile_error-34/#post-15003222)
 * The file path in the error message `wp-content/plugins/ithemes-security-pro/core/
   modules/two-factor/providers/class.two-factor-provider.php` indicates that the`
   ithemes-security-pro` plugin has bundled some version of the Two Factor plugin.
   PHP doesn’t allow files defining the same classnames to be loaded so there is
   no solution to this as far as I understand.

Viewing 1 replies (of 1 total)

The topic ‘E_COMPILE_ERROR’ is closed to new replies.

 * ![](https://ps.w.org/two-factor/assets/icon.svg?rev=2887448)
 * [Two Factor](https://wordpress.org/plugins/two-factor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/two-factor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/two-factor/)
 * [Active Topics](https://wordpress.org/support/plugin/two-factor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/two-factor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/two-factor/reviews/)

## Tags

 * [2fa](https://wordpress.org/support/topic-tag/2fa/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kaspars](https://wordpress.org/support/users/kasparsd/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/e_compile_error-34/#post-15003222)
 * Status: resolved