• Resolved avinaykumar

    (@avinaykumar)


    After user verification this error comes:

    Url error after clicking on the email(http://gayandloathing.com/?uv_autologin=yes&key=1ba2d21680303c0bf9d825327e5fc279)

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function wc_maybe_store_user_agent(), 1 passed in /home/gayandlo/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/gayandlo/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1733 Stack trace: #0 /home/gayandlo/public_html/wp-includes/class-wp-hook.php(286): wc_maybe_store_user_agent(‘kd’) #1 /home/gayandlo/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/gayandlo/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/gayandlo/public_html/wp-content/plugins/user-verification/includes/functions.php(514): do_action(‘wp_login’, ‘kd’) #4 /home/gayandlo/public_html/wp-includes/class-wp-hook.php(286): user_verification_auto_login(”) #5 /home/gayandlo/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/gayandlo/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home/gayandlo/public_html in /home/gayandlo/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1733

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Thank you for your plugin. It really works well. I know that this is the free version and it’s not compatible with woocommerce. But you should have placed a warning and somewhat handled the error message in php in case user uses the free version or simply removed the option for redirection in case user uses free plugin + woocommerce. I got the following:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to
     function wc_maybe_store_user_agent(), 1 
    passed in /app/public/wp-includes/class-wp-hook.php on line 286 
    and exactly 2 expected in 
    /app/public/wp-content/plugins/woocommerce/includes/wc-user-functions.php
     on line 679
    ( ! ) ArgumentCountError: Too few arguments to function wc_maybe_store_user_agent(), 1 
    passed in /app/public/wp-includes/class-wp-hook.php
     on line 286 and exactly 2 expected in 
    /app/public/wp-content/plugins/woocommerce/includes/wc-user-functions.php
    on line 679

    This happens after user is successfully verified and then redirected.

    Thanks!

    • This reply was modified 7 years, 10 months ago by royrogers.
    • This reply was modified 7 years, 10 months ago by royrogers.
    • This reply was modified 7 years, 10 months ago by royrogers.

    Got a similar issue, anyone manage to find a fix?

    Plugin Author PickPlugins

    (@pickplugins)

    Hi @ch3tzy, can you please reinstall the latest version of the plugin 1.0.20 and let me know the update.

    We have recently fixed and update plugin and give WooCommerce support included in free version, so hopefully, this issue should be fixed in latest version.

    Let me know the result.

    Regards

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

The topic ‘User verfication plugin Conflict with woocommerce wordpress’ is closed to new replies.