Hi,
Which version of WordPress are you using?
Does this log get produced everytime you log in? Can you try logging in and out a few times to see if this is the case?
I am using 3.5.2
This is the report from my error log this morning after log in:
[Sat Aug 03 08:48:01 2013] [error] [client 41.58.59.64] PHP Warning: Missing argument 2 for AIOWPSecurity_User_Login::wp_login_action_handler() in /var/www/vhosts/sammyteseproductions.com/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-user-login.php on line 268, referer: http://www.sammyteseproductions.com/
Thanks.
I can’t reproduce your error on my test sites.
It might be that another plugin you have active on your site is also using the “wp_login” hook (but possibly in an incorrect manner) and is hence interfering with the AIOWPS plugin.
Do you have any other plugin which is related to some kind of login functionality which is currently active on your site?
If so, can you try deactivating that plugin to see if the error goes away?
Since I haven’t heard back from you in over 3 weeks I am assuming you don’t have this issue any more and will set this post to resolved.
Feel free to open another one if you need to.
me to getting same error…
here my sample Code for login
$user = get_user_by(’email’, “xxxx.xxxxx@gmail.com”);
$user_id = $user->ID;
$user_login = $user_id;
wp_set_current_user($user_id);
wp_set_auth_cookie($user_id,false);
do_action(‘wp_login’, $user_login);
Please help me…thanks
Yes, I’m getting this:
Warning: Missing argument 2 for wpdb::prepare(), called in /home3/mile28/public_html/wp-content/plugins/tinymce-signature/tinymce-signature.php on line 334 and defined in /home3/mile28/public_html/wp-includes/wp-db.php on line 992
Hello @jcglover27@gmail.com, unfortunately for you that error has nothing to do with this plugin. You have to report that error under the correct plugin support forum for better support.
Kind regards