[PATCHED]Woocommerce - Missing argument warning on WP login - temp fix
Posted: Mon Jul 17, 2017 2:34 pm
Are you getting an error like this when you log in WordPress, and you have install Woocommerce?
There is a quick fix Alessio found and gave me. We shall edit the /wp-content/plugins/woocommerce/includes/wc-core-functions.php
Find on line #1551:
And change to:
Save & upload.
WARNING: If you update Woocommerce plugin, your edit will be overwritten more than likely. But I'm sure Allesio will have it patched in no time from w3all plugin and thereafter, YOU SHOULD REVERT THIS CHANGE!
Happy coding.
There is a quick fix Alessio found and gave me. We shall edit the /wp-content/plugins/woocommerce/includes/wc-core-functions.php
Find on line #1551:
Code: Select all
function wc_maybe_store_user_agent( $user_login, $user ) {
Code: Select all
function wc_maybe_store_user_agent( $user_login, $user = '' ) {
WARNING: If you update Woocommerce plugin, your edit will be overwritten more than likely. But I'm sure Allesio will have it patched in no time from w3all plugin and thereafter, YOU SHOULD REVERT THIS CHANGE!
Happy coding.