• Resolved wpkaygee

    (@wpkaygee)


    Hi

    I’m getting a Jetpack sync module error for users when trying to register as a new user.
    User sees a “this site es experiencing technical diffulties” error message. In debug mode this is the error

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Automattic\Jetpack\Sync\Modules\Users::wp_login_handler(), 1 passed in /home/hjgdqrue/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/hjgdqrue/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/Users.php:308 Stack trace: #0 /home/hjgdqrue/public_html/wp-includes/class-wp-hook.php(286): Automattic\Jetpack\Sync\Modules\Users->wp_login_handler('NewReg1') #1 /home/hjgdqrue/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/hjgdqrue/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/hjgdqrue/public_html/wp-content/plugins/js-support-ticket/includes/jsst-hooks.php(119): do_action('wp_login', 'NewReg1') #4 /home/hjgdqrue/public_html/wp-includes/class-wp-hook.php(286): jsst_add_new_member('') #5 /home/hjgdqrue/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/hjgdqrue/public_html/wp- in /home/hjgdqrue/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/Users.php on line 308

    However, users do get registered though because when i try login it works.

    Jetpack acknowledged this issue before and it seems to be with the number of parameters required. (see here https://github.com/Automattic/jetpack/issues/11982 Jetpack sync module error with plugins).

    How can i get the parameters jetpack needs or other solution?

    • This topic was modified 5 years, 6 months ago by wpkaygee.
    • This topic was modified 5 years, 6 months ago by Jan Dembowski. Reason: Formatting
Viewing 1 replies (of 1 total)
  • Plugin Author JoomSky

    (@rabilal)

    Hi,

    Try this fix.

    Edit
    ../js-support-ticket/includes/jsst-hooks.php
    line no 119

    Find
    do_action(‘wp_login’, $user_login);

    Replace with
    //do_action(‘wp_login’, $user_login);

    Regards,
    JS Help Desk team

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with Jetpack causing user registration problems’ is closed to new replies.