Themekraft / wc4bp

WooCommerce BuddyPress Integration
GNU General Public License v2.0
18 stars 8 forks source link

Too few argument counts - Woocommerce Version 3.4.6 Buddypress 3.2.0 #216

Closed pbradl42 closed 5 years ago

pbradl42 commented 5 years ago

I've just finished moving my site to a new server, so I'm not sure if this is because of an updated woocommerce or a misconfiguration on my end, but it looks like something was changed. This occurs at checkout -- the page itself just gives a 'server misconfigured error'. I replaced the path 'DIR'. Thanks!

2018-10-14T18:40:21+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function wc4bp_Woocommerce::avoid_override_of_user_meta(), 1 passed in DIR/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in DIR/wp-content/plugins/wc4bp-premium/class/wc4bp-woocommerce.php:47 Stack trace:

0 DIR/wp-includes/class-wp-hook.php(288): wc4bp_Woocommerce->avoid_override_of_user_meta(Object(WC_Customer))

1 DIR/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)

2 DIR/wp-includes/plugin.php(453): WP_Hook->do_action(Array)

3 DIR/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(956): do_action('woocommerce_che...', Object(WC_Customer), Array)

4 DIR/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1029): WC_Checkout->process_customer(Array)

5 DIR/wp-content/plugins/woocommerc

gfirem commented 5 years ago

Hi @pbradl42, sorry you are running into this issue. I was trying to replicate it, but this issue is not happening in my local environment. Would you like to reach me through the support and we can figure out what plugin is causing this issue.

I test with the last versions Woo 3.4.7 and BP 3.2.0

pbradl42 commented 5 years ago

OK, will do. Thanks, Peter

On Oct 23, 2018, at 5:16 AM, Guillermo Figueroa Mesa notifications@github.com wrote:

Hi @pbradl42 https://github.com/pbradl42, sorry you are running into this issue. I was trying to replicate it, but this issue is not happening in my local environment. Would you like to reach me through the support and we can figure out what plugin is causing this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Themekraft/wc4bp/issues/216#issuecomment-432166295, or mute the thread https://github.com/notifications/unsubscribe-auth/AMO8xR82P8S4grbj4xKKQr0KkiReYy9eks5unt5sgaJpZM4XbR_t.