Title: parse error on my site
Last modified: November 24, 2016

---

# parse error on my site

 *  [maheer11](https://wordpress.org/support/users/maheer11/)
 * (@maheer11)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-my-site/)
 * hello,
 * i have a parse error on my site. i dont understand how to solve it.
 * it says, Parse error: syntax error, unexpected ‘load_gateways’ (T_STRING), expecting
   function (T_FUNCTION) in /home/skyjcpqb/public_html/airmedz.com/wp-content/plugins/
   woocommerce/includes/class-wc-payment-gateways.php on line 97.

Viewing 1 replies (of 1 total)

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-my-site/#post-8478409)
 * If you are not running WooCommerce 2.6.8, consider updating. This will overwrite
   existing WooCommerce files.
 * If you are running the latest WooCommerce, you could download a fresh copy of
   WooCommerce to your hard disk and unzip it there. Use ftp, or your hosts’s file
   management software to delete:
    plugins/woocommerce/includes/class-wc-payment-
   gateways.php and replace it with your fresh copy.
 * If the issue persists, you may need to replace all WooCommerce files from your
   fresh download. Don’t delete WooCommerce from the plugin page or you will lose
   all your settings.

Viewing 1 replies (of 1 total)

The topic ‘parse error on my site’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-on-my-site/#post-8478409)
 * Status: not resolved