WordPress - WooCommerce Registration not working

佐手、 提交于 2019-12-23 13:07:22

问题


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.


回答1:


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’ );


来源:https://stackoverflow.com/questions/28165103/wordpress-woocommerce-registration-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!