WordPress启用woocommerce 插件时候出现错误:
PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE)
引起这个问题的原因是服务器中Php版本低,现在推荐使用php 7.0
使用高版本之后错误解决!
WordPress启用woocommerce 插件时候出现错误:
PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE)
引起这个问题的原因是服务器中Php版本低,现在推荐使用php 7.0
使用高版本之后错误解决!