schlagseite
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme My Login] Costumer Plugin Conflict between Theme my Login?I had forgotten!
Here is the error message
Fatal error: Uncaught ArgumentCountError: Too few arguments to function itsec_record_first_login(), 1 passed in /homepages/30/d548178044/htdocs/www.domain.de/wp-includes/class-wp-hook.php on line 303 and exactly 2 expected in /homepages/30/d548178044/htdocs/www.domain.de/wp-content/plugins/better-wp-security/core/modules/global/active.php:94 Stack trace: #0 /homepages/30/d548178044/htdocs/www.domain.de/wp-includes/class-wp-hook.php(303): itsec_record_first_login('A-Tester') #1 /homepages/30/d548178044/htdocs/www.domain.de/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #2 /homepages/30/d548178044/htdocs/www.domain.de/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /homepages/30/d548178044/htdocs/www.domain.de/wp-content/plugins/costumer-beratung/costumer-xyz-registration.php(213): do_action('wp_login', 'testaccount_os') #4 /homepages/30/d548178044/htdocs/www.domain.de/wp-includes/class-wp-hook.php(303): costumer_add_new_member('') #5 /homepages/30/d548178044/htdoc in /homepages/30/d548178044/htdocs/www.domain.de/wp-content/plugins/better-wp-security/core/modules/global/active.php on line 94
Forum: Plugins
In reply to: [Theme My Login] Costumer Plugin Conflict between Theme my Login?Hello,
can anyone help me? That would be great. ??
Greetings
Schlagzeile
Yeah, it’s great! Thank you so much!
The problem with the logout I will now tackle next.Stay healthy
Best regards
I’ve tried it out. The error message is now fixed. ??
Only I can’t log out as admin anymore. When I try that I get to the logout page but I am still in the backend. :-/Thanks a lot in advance.
Best regards
Hello nlpro,
thanks again for the answer.Sorry, didn’t know it was illegal ??
The code is not written by me – but it can be changed.
There are several files. So I don’t know how to post all this. There are also references to the website and there is also confidential data (assignments).Anyway, here is the code snippet:
// only log the user in if there are no errors if(empty($errors)) { wp_setcookie(sanitize_text_field($_POST['example_user_login']), sanitize_text_field($_POST['example_user_pass']), true); wp_set_current_user($user->ID, sanitize_text_field($_POST['example_user_login'])); do_action('wp_login', sanitize_text_field($_POST['example_user_login'])); wp_redirect('/beratung/neue-beratung'); exit; } } }
I will probably have to find another way.
Thanks a lot in advance.
Best regards
Hello nlpro,
thanks again for the answer.This file is a plugin and refers to the Theme My Login plugin.
I can provide you with the file. But I don’t want to do that here.
How do you handle sensitive data here? Is there a secure way? Maybe by e-mail?That would be great and would help me a lot.
Thanks a lot in advance.
Best regards
Hello nlpro,
thank you for your reply.I’m still a beginner. It would be great if you could help me out. How and where can I implement the 2 parameters?
Thank you very much in advance.
Best regards
Forum: Plugins
In reply to: [Theme My Login] Removing Profile FieldsThank you very much for your answer. ??
Forum: Plugins
In reply to: [Theme My Login] Removing Profile FieldsI’m still a beginner. Can someone please tell me where I need to insert the code?
Thank you very much for the effort.
Kind regards
Forum: Plugins
In reply to: [Theme My Login] Removing Profile FieldsThank you very much for the quick answer.
Where do I use the code? In the functions.php or in the profile-form.php?
Many thanks for the effort!
Kind regards