WordPress.org

Support

Support » Plugins and Hacks » Login Security Solution » [Resolved] [Plugin: Login Security Solution] Warning: Missing argument 2 for…

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Daniel Convissor

    @convissor

    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

    @convissor

    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

    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

    @convissor

    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

    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 ‘[Resolved] [Plugin: Login Security Solution] Warning: Missing argument 2 for…’ is closed to new replies.
Skip to toolbar