Title: Parse error: syntax error
Last modified: May 6, 2018

---

# Parse error: syntax error

 *  Resolved [sarsii4u](https://wordpress.org/support/users/sarsii4u/)
 * (@sarsii4u)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-153/)
 * Hi,
 * I installed WooCommerce to integrate with stripe, but when I activated it, I 
   couldn’t open my site anymore. I got the below error messages, so I had to temporarily
   deactivate the stripe gateway and woocommerce plugins. Currently my php version
   is 5.6. Can you please let me know what happened?
 * WooCommerce – when I activated this plugin, I got the 500: Internal Error- this
   website is unavailable at the moment.
    WooCommerce Stripe Gateway – When this
   plugin was activated, I got this error message Parse error: syntax error, unexpected‘[‘
   in /home3/ad/public_html/owenmccall.com/wp-content/plugins/woocommerce-gateway-
   stripe/includes/class-wc-stripe-webhook-handler.php on line 101
 * Please let me know how to fix this.
 * Thanks,
    Rose
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-153%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [8 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-153/#post-10261627)
 * Hi [@sarsii4u](https://wordpress.org/support/users/sarsii4u/)
 * This error has been mentioned a few times in the forum recently.
 * Can you confirm the following:
 * * Your PHP version as reported on the [WooCommerce System Status Report](https://docs.woocommerce.com/document/understanding-the-woocommerce-system-status-report/)
   is 5.6
    * In FTP the WooCommerce folder is named `woocommerce` and Stripe is `
   woocommerce-gateway-stripe` with no additional characters * The WooCommerce plugin
   is active and up to date * Stripe is version 4.1.2
 * Thanks,
 *  Thread Starter [sarsii4u](https://wordpress.org/support/users/sarsii4u/)
 * (@sarsii4u)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-153/#post-10261966)
 * Hi, I can confirm that everything is correct except the version of Stripe. My
   version is 4.1.3
 * * Your PHP version as reported on the WooCommerce System Status Report is 5.6–
   yes
    * In FTP the WooCommerce folder is named woocommerce and Stripe is woocommerce-
   gateway-stripe with no additional characters – yes * The WooCommerce plugin is
   active and up to date – yes * Stripe is version 4.1.2 – no (4.1.3)
 *  Plugin Support [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [8 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-153/#post-10265079)
 * Hi [@sarsii4u](https://wordpress.org/support/users/sarsii4u/)
 * I think we need to dig into this a bit more.
 * First step – can you go through some conflict testing to ensure nothing else 
   is causing havoc here, please?
 * You can read more about plugin and theme conflicts in the documentation here:
   [https://docs.woocommerce.com/document/woocommerce-self-service-guide/](https://docs.woocommerce.com/document/woocommerce-self-service-guide/)
 * Then, if the results are the same – can you open a ticket via WooCommerce.com–
   [Tickets](https://woocommerce.com/my-account/create-a-ticket/)?
    If you’re unable
   to select Stripe from the WooCommerce Extensions submenu, please purchase the
   extension for free at [https://www.woocommerce.com/products/stripe/](https://www.woocommerce.com/products/stripe/)
 * Thanks!
 *  Plugin Support [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [8 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-153/#post-10290290)
 * Hey [@sarsii4u](https://wordpress.org/support/users/sarsii4u/)
 * I’ve not heard back from you in a while, so I’m going to mark this as resolved.
 * If you still need some assistance, please follow my advice above about reaching
   out to us at WooCommerce.com.
 * Thanks,
 *  Plugin Support [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * (@dougaitken)
 * Automattic Happiness Engineer
 * [8 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-153/#post-10290291)
 * Hey [@sarsii4u](https://wordpress.org/support/users/sarsii4u/)
 * I’ve not heard back from you in a while, so I’m going to mark this as resolved.
 * If you still need some assistance, please follow my advice above about reaching
   out to us at WooCommerce.com.
 * Thanks,

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

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

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

## Tags

 * [error 500](https://wordpress.org/support/topic-tag/error-500/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [woocommerce stripe gateway](https://wordpress.org/support/topic-tag/woocommerce-stripe-gateway/)

 * 5 replies
 * 2 participants
 * Last reply from: [dougaitken](https://wordpress.org/support/users/dougaitken/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-153/#post-10290291)
 * Status: resolved