Title: Error log shows stack trace for google-authenticator.php errors
Last modified: April 25, 2021

---

# Error log shows stack trace for google-authenticator.php errors

 *  [sshanky](https://wordpress.org/support/users/sshanky/)
 * (@sshanky)
 * [5 years ago](https://wordpress.org/support/topic/error-log-shows-stack-trace-for-google-authenticator-php-errors/)
 * I see probably hundreds of these in my error log. I wonder if anyone knows what
   is happening. “johnny” is one of my users. Thank you!
 *     ```
       2021/04/25 12:02:50 [error] 62#62: *1660 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function login_header() in /home/user/public_html/wp-content/plugins/google-authenticator/google-authenticator.php:638
   
       Stack trace:
   
       #0 /home/user/public_html/wp-content/plugins/google-authenticator/google-authenticator.php(625): GoogleAuthenticator->secondary_login_screen()
   
       #1 /home/user/public_html/wp-includes/class-wp-hook.php(287): GoogleAuthenticator->check_otp(Object(WP_User), 'johnny', 'test')
   
       #2 /home/user/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(Object(WP_Error), Array)
   
       #3 /home/user/public_html/wp-includes/pluggable.php(549): apply_filters('authenticate', NULL, 'johnny', 'test')
   
       #4 /home/user/public_html/wp-includes/class-wp-xmlrpc-server.php(275): wp_authenticate('johnny', 'test')
   
       #5 /home/user/public_html/wp-includes/class-wp-xmlrpc-server.php(4766): wp_xmlrpc_server->login('johnny', 'test')
   
       #6 /home/user/public_html/wp-includes/class-wp-xmlrpc-serv" while reading response header from upstream, client: 185.220.101.22, server: _, request: "POST /xmlrpc.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "my-site.com"
       ```
   

The topic ‘Error log shows stack trace for google-authenticator.php errors’ 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/)

## Tags

 * [hacking](https://wordpress.org/support/topic-tag/hacking/)
 * [Stack trace](https://wordpress.org/support/topic-tag/stack-trace/)

 * 0 replies
 * 1 participant
 * Last reply from: [sshanky](https://wordpress.org/support/users/sshanky/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/error-log-shows-stack-trace-for-google-authenticator-php-errors/)
 * Status: not resolved