Costumer Plugin Conflict between Theme my Login?
-
Hello,
i have a conflict between Theme My Login and Costumer Plugin (programmed plug corresponding to Theme My Login). The login process for customers is interrupted by a Fatal Error after entering. I then only see the Fatal Error and the page does not jump to the default or linked page.I turned Better WP Security off, then everything worked normally again.
This is Line 213 at the costumer plugin
do_action('wp_login', $user_login);
Section
// log the new user in wp_setcookie($user_login, $user_pass, true); wp_set_current_user($new_user_id, $user_login); do_action('wp_login', $user_login); // send the newly created user to the home page after logging them in wp_redirect('/online-beratung/neue-online-beratung'); exit; } } } else{ praevent_errors()->add('failed_captcha', __('Captchaverifizierung ist fehlgeschlagen!')); } } }
And that the line 94 at global.php at Better WP Security
function itsec_record_first_login( $username, $user ) {
Section
/** * Record that a user has logged-in. * * @param string $username * @param WP_User $user */ function itsec_record_first_login( $username, $user ) { if ( ! get_user_meta( $user->ID, '_itsec_has_logged_in', true ) ) { update_user_meta( $user->ID, '_itsec_has_logged_in', ITSEC_Core::get_current_time_gmt() ); } } add_action( 'wp_login', 'itsec_record_first_login', 15, 2 );
Can anyone help me please?
Thanks in advance. 🙂
Schlagzeile
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Costumer Plugin Conflict between Theme my Login?’ is closed to new replies.