[ad_1]
Hi!
after the successful import of a Multisite to a Single site Domain I have a critical issue in the Woocommerce wp_get_current_user() Function.
Fixed temporarily only by commenting out the Call to it:
nano +413 [PATH2DOMAIN]/plugins/woocommerce/includes/wc-user-functions.php
function wc_current_user_has_role( $role ) {
/*return wc_user_has_role( wp_get_current_user(), $role );*/
}
Let me know.
Best Regards and Thanks,
David
