Support » Plugin: All In One WP Security & Firewall » "PHP Warning: Missing argument 2 for

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author wpsolutions


    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] PHP Warning:  Missing argument 2 for AIOWPSecurity_User_Login::wp_login_action_handler() in /var/www/vhosts/ on line 268, referer:


    Plugin Author wpsolutions


    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?

    Plugin Author wpsolutions


    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’, “”);
    $user_id = $user->ID;
    $user_login = $user_id;

    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

    Plugin Contributor mbrsolution


    Hello, 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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘"PHP Warning: Missing argument 2 for’ is closed to new replies.