Woocommerce conflict

Replies
3
Voices
2
Freshness
Followers

0

Hello,
We are running into a conflict with Woocommerce every time we log in to Discussion Board. As soon as I click login I get an HTTP ERROR 500 page. If I refresh the page it reads “you are already logged in” and everything works fine after that. In the Woocommerce logs it reports the error as follows.
CRITICAL Uncaught ArgumentCountError: Too few arguments to function wc_maybe_store_user_agent(), 1 passed and exactly 2 expected in —-/wp-content/plugins/woocommerce/includes/wc-user-functions.php:718

Any ideas on how to fix this?

We’re running:
Wordpress 5.0.2
Woocommerce 3.5.3
Discussion Board 2.3.7
Discussion Board Pro 1.8.3

  • GarethGareth

    Hi - have you tried without Discussion Board enabled? Looking at the message you've posted, the error is coming from WooCommerce rather than DB.

    Thanks.

  • Brad LittlejohnBrad Littlejohn

    The error only occurs when we log in from the Discussion board login page. The WP login works just fine, with or without Discussion board activated. I figured the problem must be with how Discussion Board references the database users that are registered in Woocommerce. I tried a fresh WP install with Woocommerce and Discussion Board installed and the same error occurs.