WordPress-WooCommerce注册不起作用 [英] WordPress - WooCommerce Registration not working

查看:174
本文介绍了WordPress-WooCommerce注册不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在注册页面上,当我填写并提交表单时,该页面只会重新加载,并且什么也没有发生。而且,当我以现有用户身份登录时,它可以正常工作。

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?

我正在启用HTTPS的WordPress 4.1上使用Woocommerce版本2.2.10。

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

推荐答案

主题已损坏:
在您的主机上,打开路径 yourhost / wp-content / themes / new-commerce / woocommerce / myaccount / form-login.php中的文件

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

在第110行附近,您会发现这段代码:

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

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

将其更改为:

wp_nonce_field( ‘woocommerce-register’ );

这篇关于WordPress-WooCommerce注册不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆