Title: [Plugin: Login Security Solution] Warning: Missing argument 2 for&#8230;
Last modified: August 20, 2016

---

# [Plugin: Login Security Solution] Warning: Missing argument 2 for…

 *  Resolved [herbert](https://wordpress.org/support/users/herbie4/)
 * (@herbie4)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-login-security-solution-warning-missing-argument-2-for/)
 * On a multisite install I will get an error when logging in on any blog, the plugin
   is network activated:
 * > Warning: Missing argument 2 for login_security_solution::wp_login()….
 * If then manually go to the /wp-admin I am logged in, but how to get rid of the
   error. Any suggestions out there…
 * [http://wordpress.org/extend/plugins/login-security-solution/](http://wordpress.org/extend/plugins/login-security-solution/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Daniel Convissor](https://wordpress.org/support/users/convissor/)
 * (@convissor)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-login-security-solution-warning-missing-argument-2-for/#post-2715350)
 * Hi Herbie:
 * I am not seeing that. My guess is an unexpected interaction with another plugin
   or something. To figure out what’s happening on your system, can you please place
   the following line of code on the first line inside the wp_login() method in 
   my class? It logs a backtrace to a file. Adjust the path to the file as needed.
   Then post the resulting file.
 * `file_put_contents('/var/tmp/lss-wp_login', var_export(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS),
   true));`
 * Which versions of WordPress and Login Security Solution are you using?
 * Thanks,
 * –Dan
 *  Plugin Author [Daniel Convissor](https://wordpress.org/support/users/convissor/)
 * (@convissor)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-login-security-solution-warning-missing-argument-2-for/#post-2715364)
 * Hi Again Herbie:
 * Ah, the forum system shows your WP version as 3.2.1 in the right column. I took
   a look at the source code of `wp-includes/user.php` in that branch. It turns 
   out the second argument to the `wp_login` action was added in 3.3. So I need 
   to change my plugin’s minimum version. to 3.3.
 * Thanks for bringing this to my attention,
 * –Dan
 *  Thread Starter [herbert](https://wordpress.org/support/users/herbie4/)
 * (@herbie4)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-login-security-solution-warning-missing-argument-2-for/#post-2715376)
 * Thanks Dan. Yes, I am using WP 3.2.1 so now the error is clear to me. When I 
   switch of error reporting it works fine. So for now it is solved. Thank you for
   the quick response.
 *  Plugin Author [Daniel Convissor](https://wordpress.org/support/users/convissor/)
 * (@convissor)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-login-security-solution-warning-missing-argument-2-for/#post-2715380)
 * Hi Herbie:
 * That second argument is required for the plugin to work properly. The error can’t
   be ignored, sorry to say. I suggest either disabling this plugin or upgrade WP
   to 3.3.
 * –Dan
 *  Thread Starter [herbert](https://wordpress.org/support/users/herbie4/)
 * (@herbie4)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-login-security-solution-warning-missing-argument-2-for/#post-2715421)
 * Thanks Dan. I did an update to wp 3.3.2. All looks fine now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Login Security Solution] Warning: Missing argument 2 for…’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/login-security-solution.svg)
 * [Login Security Solution](https://wordpress.org/plugins/login-security-solution/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/login-security-solution/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/login-security-solution/)
 * [Active Topics](https://wordpress.org/support/plugin/login-security-solution/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-security-solution/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-security-solution/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [herbert](https://wordpress.org/support/users/herbie4/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-login-security-solution-warning-missing-argument-2-for/#post-2715421)
 * Status: resolved