Title: Call to undefined function WP2FA\Authenticator\login_header()
Last modified: September 13, 2022

---

# Call to undefined function WP2FA\Authenticator\login_header()

 *  Resolved [Gary Kealy](https://wordpress.org/support/users/ylkyrg/)
 * (@ylkyrg)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/call-to-undefined-function-wp2faauthenticatorlogin_header/)
 * This error has cropped up since updating recently.
 * WP 2FA v2.3.0
    WP v6.0.2 PHP v8.0
 *     ```
       Error Details
       =============
       An error of type E_ERROR was caused in line 813 of the file /[...]/plugins/wp-2fa/includes/classes/Authenticator/class-login.php. Error message: Uncaught Error: Call to undefined function WP2FA\Authenticator\login_header() in /[...]/plugins/wp-2fa/includes/classes/Authenticator/class-login.php:813
       Stack trace:
       #0 /[...]/wp/wp-includes/class-wp-hook.php(309): WP2FA\Authenticator\Login::login_form_validate_2fa('')
       #1 /[...]/wp/wp-includes/class-wp-hook.php(335): WP_Hook->apply_filters(NULL, Array)
       #2 /[...]/wp/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
       #3 /[...]/wp/wp-settings.php(620): do_action('wp_loaded')
       ```
   

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

 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/call-to-undefined-function-wp2faauthenticatorlogin_header/#post-16008577)
 * Thank you very much for using our plugin [@ylkyrg](https://wordpress.org/support/users/ylkyrg/)
 * I am sorry to read about your issue.
 * Can you please advise if the plugin is still running? As in is this a show stopper
   and the plugin cannot be used, or is this error being reported when you do something
   very specific?
 * Looking forward to hearing from you.
 *  Thread Starter [Gary Kealy](https://wordpress.org/support/users/ylkyrg/)
 * (@ylkyrg)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/call-to-undefined-function-wp2faauthenticatorlogin_header/#post-16008955)
 * Hi [@robert681](https://wordpress.org/support/users/robert681/)
 * So far it has only occurred once to a user while logging in. The plugin is still
   running.
 * Possibly also relevant: the site uses [WPS Hide Login](https://wordpress.org/plugins/wps-hide-login/).
 *  [keengamer](https://wordpress.org/support/users/keengamer/)
 * (@keengamer)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-wp2faauthenticatorlogin_header/#post-16027755)
 * We have the same issues. Now I saw it three times.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-wp2faauthenticatorlogin_header/#post-16033377)
 * Thank you for the update [@ylkyrg](https://wordpress.org/support/users/ylkyrg/)
 * If it happened only one, it could be that it happened during the upgrade – these
   things can happen especially for those few seconds during which the plugin is
   unavailable due to the upgrade.
 * Please keep an eye on the logs and let us know should it happen again.
 * [@keengamer](https://wordpress.org/support/users/keengamer/) – thank you for 
   your message and for using our plugin. Please open your own support forum thread
   if you need support for us. Thank you for your understanding and cooperation.

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

The topic ‘Call to undefined function WP2FA\Authenticator\login_header()’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-wp2faauthenticatorlogin_header/#post-16033377)
 * Status: resolved