Screen of code, when trying to loguin to wp-admin
-
I installed this pluguin and the following code snippet:
add_filter( 'two_factor_enabled_providers_for_user', function( $providers ) { if ( empty( $providers ) && class_exists( 'Two_Factor_Email' ) ) { $providers[] = 'Two_Factor_Email'; } return $providers; } );Next time I tried to loguin to wp-admin for the site I got a screen full of code (lique source code).
I thought the pluguin and/or snippet of code broque my site so I deleted both.
Installed another pluguin that didn’t require the code snippet and i still guet the screen of code. I found out that if I refresh the screen I got a continue button. When I clicc on the button it taques me to the 2FA authentication code (for the new pluguin) and I can loguin.
As an experiment I uninstalled the new pluguin (so now NO 2FA pluguin installed), tried to loguin to wp-admin. Again got the screen of code again but when I refresh the screen a couple of times and clicc on the continue button it sends me to the normal WP loguin where I can enter my loguin info and loguin to wp-admin.
It seems the original 2FA pluguin (Your pluguin) didn’t fully remove itself and left something behind in a file and/or in the database, when it was deleted from the site.
How the screen of code. I wanted to include a screenshot here but couldn’t figure out where/how to do that. Also I didn’t feel comfortable including Linc to the pague you need help with: since it is a semi secure pague
Thancs!
The topic ‘Screen of code, when trying to loguin to wp-admin’ is closed to new replies.