Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WordPress - WooCommerce Registration not working

On Registration page when I fill the form and submit it, the page only reloads and nothing happens. And when I log in with an existing user, it works perfectly.

Any ideas about what might be causing this behavior?

I am using Woocommerce version 2.2.10 on WordPress 4.1 with HTTPS enabled.

like image 706
Zubair Zahid Avatar asked Dec 24 '22 23:12

Zubair Zahid


1 Answers

The theme was broken: On your host, open the file on the path “yourhost/wp-content/themes/new-commerce/woocommerce/myaccount/form-login.php”

Around line 110, you will find this piece of code:

wp_nonce_field( ‘woocommerce-register’, ‘register’ );

Change it to:

wp_nonce_field( ‘woocommerce-register’ );
like image 68
Zubair Zahid Avatar answered Jan 14 '23 13:01

Zubair Zahid