Fatal error: Call to undefined function login_header()
-
I got following fatal error:
PHP Fatal error: Uncaught Error: Call to undefined function login_header() in /var/www/html/wp-content/plugins/user-switching/user-switching.php:216
The cause may be a corner case. I switched to another user in a separate window, where I then caused custom code to execute that force ended the current session. The still open wordpress admin dashboard in the first window then popped up a login window with the ability to switch back to my actual user account. That worked, but also showed an error page within that popup window as well as added above error in the error log. The switch and site worked fine thereafter though.
In any case thanks for this great plugin!
- The topic ‘Fatal error: Call to undefined function login_header()’ is closed to new replies.