Title: Woocommerce syntax error
Last modified: August 27, 2020

---

# Woocommerce syntax error

 *  Resolved [ikay75](https://wordpress.org/support/users/ikay75/)
 * (@ikay75)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-syntax-error/)
 * I always get the errror message below anytime I activate woocommerce on my wordpress
   multisite and I can’t access anything on my website. How can I solve this?
 * Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in /home/webynova/public_html/
   wp-content/plugins/woocommerce/woocommerce.php on line 56

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-syntax-error/#post-13320750)
 * Kindly ask this in the Woocommerce plugin’s dedicated support forum, where you’re
   far more likely to get help from the plugin’s developers and user community.
 * [https://wordpress.org/support/plugin/woocommerce/](https://wordpress.org/support/plugin/woocommerce/)
 * Good luck!
 *  Thread Starter [ikay75](https://wordpress.org/support/users/ikay75/)
 * (@ikay75)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-syntax-error/#post-13320770)
 * Ok, thank you George
 *  Thread Starter [ikay75](https://wordpress.org/support/users/ikay75/)
 * (@ikay75)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-syntax-error/#post-13320904)
 * I fixed it… I upgraded php version from 5.6 to 7.2

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Woocommerce syntax error’ is closed to new replies.

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [woo commerce](https://wordpress.org/support/topic-tag/woo-commerce/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [ikay75](https://wordpress.org/support/users/ikay75/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-syntax-error/#post-13320904)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
