Screen of code, when trying to login to wp-admin
-
I installed this plugin 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 login to wp-admin for the site I got a screen full of code (like source code).
I thought the plugin and/or snippet of code broke my site so I deleted both.
Installed another plugin that didn’t require the code snippet and i still get the screen of code. I found out that if I refresh the screen I got a continue button. When I click on the button it takes me to the 2FA authentication code (for the new plugin) and I can login.
As an experiment I uninstalled the new plugin (so now NO 2FA plugin installed), tried to login to wp-admin. Again got the screen of code again but when I refresh the screen a couple of times and click on the continue button it sends me to the normal WP login where I can enter my login info and login to wp-admin.
It seems the original 2FA plugin (Your plugin) 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 Link to the page you need help with: since it is a semi secure page
Thanks!
- You must be logged in to reply to this topic.