Title: Error message from WP about WP2FA
Last modified: February 7, 2024

---

# Error message from WP about WP2FA

 *  Resolved [yanivbtech](https://wordpress.org/support/users/yanivbtech/)
 * (@yanivbtech)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-message-from-wp-about-wp2fa/)
 * Hi i got an Error mail from WP about my site where in the mail it pointed to 
   WP2FA as the problem
 * i dont uderstand these things so im asking for some clarification about this 
   subject and what the plugin is doing to my site.
 * here is the mail
 *     ```wp-block-code
       Howdy!
   
       WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
   
       במקרה זה, וורדפרס מצאה שגיאה בתוסף WP 2FA - Two-factor authentication for WordPress.
   
       First, visit your website (https://btech.tempurl.co.il/) and check for any visible issues. Next, visit the page where the error was caught (https://btech.tempurl.co.il/wp-admin/profile.php) and check for any visible issues.
   
       יש ליצור קשר עם חברת האכסון לקבלת סיוע נוסף בבדיקת הבעיה.
   
       If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
   
       https://btech.tempurl.co.il/wp-login.php?action=enter_recovery_mode&rm_token=wdgSrTM3Q27aAtBwKsELi5&rm_key=15bRHPNZJonIdYVTSkNqgL
   
       To keep your site safe, this link will expire in יום 1. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
   
       When seeking help with this issue, you may be asked for some of the following information:
   
       וורדפרס גרסה 6.4.3
   
       תבנית פעילה: Blocksy (גרסה 2.0.23)
   
       תוסף נוכחי: WP 2FA - Two-factor authentication for WordPress (גרסה 2.6.1) PHP גרסה 8.3.0
   
       פרטי שגיאה
   
       ===================
   
       אירעה שגיאה מסוג E_ERROR בשורה 555 בקובץ /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php. הודעת שגיאה: Uncaught Error: Call to undefined function iconv() in /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php:555
   
       Stack trace:
   
       #0 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php(483): WP2FA_Vendor\BaconQrCode\Encoder\Encoder::append8BitBytes()
   
       #1 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php(159): WP2FA_Vendor\BaconQrCode\Encoder\Encoder::appendBytes()
   
       #2 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/vendor/endroid/qr-code/src/QrCode.php(320): WP2FA_Vendor\BaconQrCode\Encoder\Encoder::encode()
   
       #3 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/vendor/endroid/qr-code/src/Writer/SvgWriter.php(25): WP2FA_Vendor\Endroid\QrCode\QrCode->getData()
   
       #4 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Authenticator/class-authentication.php(97): WP2FA_Vendor\Endroid\QrCode\Writer\SvgWriter->writeString()
   
       #5 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/Methods/class-totp.php(219): WP2FA\Authenticator\Authentication::get_google_qr_code()
   
       #6 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/Methods/class-totp-wizard-steps.php(198): WP2FA\Methods\TOTP::get_qr_code()
   
       #7 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/Methods/class-totp-wizard-steps.php(163): WP2FA\Methods\Wizards\TOTP_Wizard_Steps::totp_configure()
   
       #8 /home/btech/domains/b-tech.co.il/public_html/wp-includes/class-wp-hook.php(324): WP2FA\Methods\Wizards\TOTP_Wizard_Steps::totp_modal_configure()
   
       #9 /home/btech/domains/b-tech.co.il/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
   
       #10 /home/btech/domains/b-tech.co.il/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
   
       #11 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/Views/class-wizard-steps.php(373): do_action()
   
       #12 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/class-user-profile.php(451): WP2FA\Admin\Views\Wizard_Steps::show_modal_methods()
   
       #13 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/class-user-profile.php(345): WP2FA\Admin\User_Profile::generate_inline_modals()
   
       #14 /home/btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/includes/classes/Admin/class-user-profile.php(569): WP2FA\Admin\User_Profile::user_2fa_options()
   
       #15 /home/btech/domains/b-tech.co.il/public_html/wp-includes/class-wp-hook.php(324): WP2FA\Admin\User_Profile::inline_2fa_profile_form()
   
       #16 /home/btech/domains/b-tech.co.il/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
   
       #17 /home/btech/domains/b-tech.co.il/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
   
       #18 /home/btech/domains/b-tech.co.il/public_html/wp-admin/user-edit.php(875): do_action()
   
       #19 /home/btech/domains/b-tech.co.il/public_html/wp-admin/profile.php(18): require_once('...')
   
       #20 {main}
   
         thrown
       ```
   

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

 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-message-from-wp-about-wp2fa/#post-17408158)
 * Hello [yanivbtech](https://wordpress.org/support/users/yanivbtech/)!
   Thank you
   for trying our plugin. I am sorry to read about your issue.
 * _WordPress has a built-in functionality to send an email to the administrator
   when there is an error running a plugin or a theme. In this case, there was an
   error running the WP 2FA plugin, so you have got this email._
 * _Can you please answer the below questions so we can help you troubleshoot this
   issue?_
    1. _What version of PHP are you running?_
    2. _When did you get this email? Did you get it as soon as you activated the plugin,
       or you’ve been using the plugin already, and got this after?_
    3. _Is the plugin still activated? Can it still be used, or you have to deactivate
       it?_
    4. _By any chance, do you know if this email is triggered when you try to do something
       specific on the website?_
    5. _Also, did you get just this email, or you got more since you have posted this
       message?_
       Also, just to clarify, the plugin is not affecting the operations 
       of your website because WordPress captures such errors, so they do not affect
       your website by any means.
 * Looking forward to hearing from you.
 *  Thread Starter [yanivbtech](https://wordpress.org/support/users/yanivbtech/)
 * (@yanivbtech)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-message-from-wp-about-wp2fa/#post-17408523)
 * hi
 * 1 8.3
 * 2 i got it after about a week of it working on my site
 * 3 yes its still active and seems to be working
 * 4 no im not sure if it was anything specific i have been having problems with
   the frontend wp2fa page for users and the mailing system not sending mail to 
   some users.
 * 5 this was the only mail i got no other so far
 * thanks yaniv
    -  This reply was modified 2 years, 4 months ago by [yanivbtech](https://wordpress.org/support/users/yanivbtech/).
 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-message-from-wp-about-wp2fa/#post-17411583)
 * Hello again, Yaniv!
   Thank you for providing me all these details!If the plugin
   is still active and working, it’s a good indication that this is not affecting
   the website or the plugin functionality in any way, and it might have been a 
   one-time thing.If you ever get another email coming from our plugin, do let us
   know!, and feel free to reach us in case there’s anything else we can assist 
   withIn the meantime, we will surely look into this and issue a patch for it in
   the next plugin update.Thank you for your patience and understanding, and feel
   free to reach us in case there’s anything else we can assist with.Kind regards,
 *  Thread Starter [yanivbtech](https://wordpress.org/support/users/yanivbtech/)
 * (@yanivbtech)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-message-from-wp-about-wp2fa/#post-17418304)
 * hi so im still geting the emails and i think i know why i just opend the front
   end WP2fa page from the page edit and i saw this on the page
 * **Fatal error**: Uncaught Error: Call to undefined function iconv()
   in **/home/
   btech/domains/b-tech.co.il/public_html/wp-content/plugins/wp-2fa/vendor/bacon/
   bacon-qr-code/src/Encoder/Encoder.php** on line **555**
 * Call stack:
    1.  `WP2FA_Vendor\B\E\Encoder::append8BitBytes()`
        wp-content/plugins/wp-2fa/vendor/
        bacon/bacon-qr-code/src/Encoder/Encoder.php:483
    2.  `WP2FA_Vendor\B\E\Encoder::appendBytes()`
        wp-content/plugins/wp-2fa/vendor/
        bacon/bacon-qr-code/src/Encoder/Encoder.php:159
    3.  `WP2FA_Vendor\B\E\Encoder::encode()`
        wp-content/plugins/wp-2fa/vendor/endroid/
        qr-code/src/QrCode.php:320
    4.  `WP2FA_Vendor\E\Q\QrCode::getData()`
        wp-content/plugins/wp-2fa/vendor/endroid/
        qr-code/src/Writer/SvgWriter.php:25
    5.  `WP2FA_Vendor\E\Q\W\SvgWriter::writeString()`
        wp-content/plugins/wp-2fa/includes/
        classes/Authenticator/class-authentication.php:97
    6.  `WP2FA\Authenticator\Authentication::get_google_qr_code()`
        wp-content/plugins/
        wp-2fa/includes/classes/Admin/Methods/class-totp.php:219
    7.  `WP2FA\Methods\TOTP::get_qr_code()`
        wp-content/plugins/wp-2fa/includes/classes/
        Admin/Methods/class-totp-wizard-steps.php:198
    8.  `WP2FA\M\W\TOTP_Wizard_Steps::totp_configure()`
        wp-content/plugins/wp-2fa/includes/
        classes/Admin/Methods/class-totp-wizard-steps.php:163
    9.  `WP2FA\M\W\TOTP_Wizard_Steps::totp_modal_configure()`
        wp-includes/class-wp-
        hook.php:324
    10. `WP_Hook::apply_filters()`
        wp-includes/class-wp-hook.php:348
    11. `WP_Hook::do_action()`
        wp-includes/plugin.php:517
    12. `do_action()`
        wp-content/plugins/wp-2fa/includes/classes/Admin/Views/class-
        wizard-steps.php:373
    13. `WP2FA\A\V\Wizard_Steps::show_modal_methods()`
        wp-content/plugins/wp-2fa/includes/
        classes/Admin/class-user-profile.php:452
    14. `WP2FA\Admin\User_Profile::generate_inline_modals()`
        wp-content/plugins/wp-
        2fa/includes/classes/Admin/class-user-profile.php:346
    15. `WP2FA\Admin\User_Profile::user_2fa_options()`
        wp-content/plugins/wp-2fa/includes/
        classes/Admin/class-user-profile.php:570
    16. `WP2FA\Admin\User_Profile::inline_2fa_profile_form()`
        wp-content/plugins/wp-
        2fa/includes/classes/Shortcodes/class-shortcodes.php:133
    17. `WP2FA\Shortcodes\Shortcodes::user_setup_2fa_form()`
        wp-includes/shortcodes.
        php:433
    18. `do_shortcode_tag()`
    19. `preg_replace_callback()`
        wp-includes/shortcodes.php:273
    20. `do_shortcode()`
        wp-includes/class-wp-hook.php:324
    21. `WP_Hook::apply_filters()`
        wp-includes/plugin.php:205
    22. `apply_filters()`
        wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.
        php:1863
    23. `WP_REST_Posts_Controller::prepare_item_for_response()`
        wp-includes/rest-api/
        endpoints/class-wp-rest-posts-controller.php:569
    24. `WP_REST_Posts_Controller::get_item()`
        wp-includes/rest-api/class-wp-rest-server.
        php:1193
    25. `WP_REST_Server::respond_to_request()`
        wp-includes/rest-api/class-wp-rest-server.
        php:1041
    26. `WP_REST_Server::dispatch()`
        wp-includes/rest-api.php:551
    27. `rest_do_request()`
        wp-includes/rest-api.php:2918
    28. `rest_preload_api_request()`
    29. `array_reduce()`
        wp-includes/block-editor.php:750
    30. `block_editor_rest_api_preload()`
        wp-admin/edit-form-blocks.php:77
    31. `require()`
        wp-admin/post.php:187
 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-message-from-wp-about-wp2fa/#post-17419028)
 * Hello again, Yaniv!
   We have analyzed the errors, and I came up with a conclusion
   and asuggestion for you, which I am sure will do the trick.The problem is that
   your host/server is most probably missingthe iconv extension. This is a straightforward
   fix but **not** something we canperform within our plugin. It’s very rare for
   this PHP module not to be already running, but once activated, I am confident
   things will get back tonormal.Can you please contact your hosts/server admin 
   as request that the iconvIs PHP extension enabled?Let me know how this goes or/
   and if you require further assistance!Kind regards.

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

The topic ‘Error message from WP about WP2FA’ is closed to new replies.

 * ![](https://ps.w.org/wp-2fa/assets/icon-256x256.png?rev=2961533)
 * [WP 2FA - Two-factor authentication for WordPress](https://wordpress.org/plugins/wp-2fa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-2fa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-2fa/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-2fa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-2fa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-2fa/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/error-message-from-wp-about-wp2fa/#post-17419028)
 * Status: resolved