• Resolved Hrithik Dalal

    (@hrithikd)


    After updating the Stream Plugin to version 4.1.0, I am encountering a fatal error when attempting to log in to the website. The site is hosted in a VIP environment. I have attached the error screenshot and fatal error message for reference.

    PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Stream\Connector_Two_Factor::callback_two_factor_user_authenticated(), 1 passed and exactly 2 expected in /var/www/wp-content/plugins/stream/connectors/class-connector-two-factor.php:296

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Hrithik Dalal

    (@hrithikd)

    Attaching the image here.

    Plugin Author Bartosz Gadomski

    (@bartoszgadomski)

    Hi Hrithik, thank you for reporting the issue!

    I tested all methods available in the Two Factor plugin and wasn’t able to reproduce the issue; could you provide more details to help me with debugging, please?

    1. Which authentication method you use? (Email, Authenticator app, FIDO U2F Security Keys, Recovery Codes, Dummy Method, or maybe some custom method)
    2. Are you using the latest version of WordPress and Two Factor plugin?
    3. Are you using any custom code that extends either Two Factor or Stream plugins?

    Thank you,
    Bartosz

    Hi there,

    I have the same issue with this plugin update, 4.1.0

    steps to reproduce:

    login using wp-admin, and 2FA using Authenticator app and then you will be redirected to /wp-login.php?action=validate_2fa page with below error message.

    There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

    Learn more about troubleshooting WordPress.

    But If I go to wp-admin after I login, I can access my dashboard.

    Plugin Author Bartosz Gadomski

    (@bartoszgadomski)

    Hello!

    The Stream plugin version 4.1.1 has been released with a fix for the issue reported in this thread. See the release on GitHub for more details: https://github.com/xwp/stream/releases/tag/v4.1.1

    Please update the plugin to the latest available version.

    With regards,
    Bartosz

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.