WordPress.org

Ready to get started?Download WordPress

Forums

Stream
[resolved] Missing argument 2 for WP_Stream_Connector_Users (4 posts)

  1. Damon Cook
    Member
    Posted 2 months ago #

    I'm using latest Stream 1.2.1, and just installed Clef plugin (http://wordpress.org/plugins/wpclef/). When I try to login with Clef the redirect fails and get error:

    Warning: Missing argument 2 for WP_Stream_Connector_Users::callback_wp_login() in /wp-content/plugins/stream/connectors/users.php on line 251

    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/stream/connectors/users.php:251) in /home/drcep3nc/public_html/wp-includes/pluggable.php on line 896

    I'm pretty sure this is an issue with Stream, and not Clef based on the error output.

    https://wordpress.org/plugins/stream/

  2. Frankie Jarrett
    Member
    Plugin Author

    Posted 2 months ago #

    Hey Damon,

    Yeah we did not foresee any scenario where the wp_login action would be missing the second parameter, which is the $user object.

    https://codex.wordpress.org/Plugin_API/Action_Reference/wp_login

    I've created an issue in GitHub for this (#252), so you can track our progress there. Thanks!

  3. Damon Cook
    Member
    Posted 2 months ago #

    ok, sounds like you're on it. I'm closing. Thanks!

  4. Frankie Jarrett
    Member
    Plugin Author

    Posted 2 months ago #

    Hi Damon, we've just released v1.2.2 which we believe will resolve the issue you are experiencing. Please test and let us know. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.