Title: PHP critical error
Last modified: October 14, 2022

---

# PHP critical error

 *  [patryka](https://wordpress.org/support/users/patryka/)
 * (@patryka)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-critical-error-3/)
 * I use Divi, when I try to log in i get: Fatal error: Uncaught Error: Call to 
   undefined function login_header() in /wp-content/plugins/google-authenticator/
   google-authenticator.php:638
 * I have enabled 2fa screen on a second page.

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

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-critical-error-3/#post-16101354)
 * Hi,
 * >  I have enabled 2fa screen on a second page.
 * What if you disable the above option? Do you still see the above mentioned error?
 * Regards.
 *  Plugin Author [Ivan](https://wordpress.org/support/users/ivankk/)
 * (@ivankk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-critical-error-3/#post-16144348)
 * Hi [@patryka](https://wordpress.org/support/users/patryka/) thanks for creating
   a ticket.
 * login_header is core WordPress functionality, see: [https://developer.wordpress.org/reference/functions/login_header/](https://developer.wordpress.org/reference/functions/login_header/)
 * Perhaps one of your themes/plugins is breaking that functionality?

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

The topic ‘PHP critical error’ is closed to new replies.

 * ![](https://ps.w.org/google-authenticator/assets/icon-256x256.png?rev=3500822)
 * [Google Authenticator](https://wordpress.org/plugins/google-authenticator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-authenticator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-authenticator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-authenticator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-authenticator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-authenticator/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Ivan](https://wordpress.org/support/users/ivankk/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/php-critical-error-3/#post-16144348)
 * Status: not resolved