there was an issue using pie register with woocommerce in work.
After activating pie register, its getting below error:
Warning: Missing argument 2 for wc_load_persistent_cart() in /home/xxx//public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 51
Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php:51) in /home/swarnabindu/public_html/wp-includes/pluggable.php on line 1178
If we disable pie-register, everything working fine without error.
How to fix it.
We have already fixed it in our next release which is due by next month.
For now you can make following changes in code to get it fixed.
Please open up pie-register.php in a text editor of your choice
search where it reads
do_action( ‘wp_login’, $user->user_login );
Replace it with
do_action( ‘wp_login’, $user->user_login,$user );
Save the file and you are done.
Hope it helps.
You must be logged in to reply to this topic.