Title: Parse error: syntax error, unexpected T_STRING
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_STRING

 *  Resolved [kelkirpi](https://wordpress.org/support/users/kelkirpi/)
 * (@kelkirpi)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/)
 * **There is an error after update 1.9.1 and/or 1.9.2**
 * `Parse error: syntax error, unexpected T_STRING in /home4/****/public_html/***.
   com/wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system/jigoshop-
   web-optimization.php on line 32`
 * [https://wordpress.org/plugins/jigoshop/](https://wordpress.org/plugins/jigoshop/)

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/?output_format=md)

 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913323)
 * Hi kelkirpi,
    this error means you need to update your php version to 5.3 or 
   higher. Please check your hosting admin panel or contact hosting provider.
 *  Thread Starter [kelkirpi](https://wordpress.org/support/users/kelkirpi/)
 * (@kelkirpi)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913324)
 * Ok, I’ll do it.. Thanks for quick support. And this brillant plugin.
 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913325)
 * Thanks – happy to hear it!
    let me know how it goes.
 *  Thread Starter [kelkirpi](https://wordpress.org/support/users/kelkirpi/)
 * (@kelkirpi)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913351)
 * I Upgrade to my php version to php 5.4 and my site is down.. 500 internal error.
   After i do php 5.3. And it’s okey..
 * But there is another error. After 1.9.2 update, all tabs are stayed open.
 * take a look: [http://i.hizliresim.com/QXp3qV.jpg](http://i.hizliresim.com/QXp3qV.jpg)
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913572)
 * site was running initially after updating to 1.9.3.1 but then 500 internal server
   error, deactivated jigoshop and tried to reactivate plugin but then got the same
   syntax error as kelkirpi above. Unable to activate jigoshop plugin at the moment.
 *  Thread Starter [kelkirpi](https://wordpress.org/support/users/kelkirpi/)
 * (@kelkirpi)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913573)
 * I upgrade my Php version to 5.3. And now update the plugin to 1.9.3.1
 * Ta da.. There is no problem 🙂
 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913574)
 * [@seannevo](https://wordpress.org/support/users/seannevo/) – can you check which
   php version you.ve got? 5.3 is required
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913576)
 * if I’m looking at the right place then my host is running php 5.4.28
 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913577)
 * if possible – try with 5.3.x – it may be the case that some things don’t work
   yet with 5.4
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913580)
 * [@optart](https://wordpress.org/support/users/optart/) – I was able to activate
   jigoshop after reverting back to an older back-up version 1.8.4.
    I changed the
   PHP version down to 5.3, also while trying to get my site up and running I was
   restricted by my host due to too many processes running. So now not sure whether
   I should try upgrading jigoshop again to 1.9.3.1? Thank you for your help.
 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913581)
 * yes if you have 5.3 you can try upgrading
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913587)
 * too late, my website was taken down by the host 🙁
 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913588)
 * that sounds strange. if you’d look for alternative hosting – contact us via [support@jigoshop.com](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/support@jigoshop.com?output_format=md),
   we have some packages in preparation
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913589)
 * Thank you, I’ll be very interested to know more about your hosting packages. 
   My host is adamant that I either install super cache, sign up to cloudflare, 
   or get a dedicated server. My website has been down for a full day now and they
   won’t restore it, can’t even access the dashboard. Extremely frustrating. The
   website in question is [http://cheapoz.com.au/](http://cheapoz.com.au/)
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/#post-4913601)
 * I have now been banned from two hosts. It seems like it might be an issue with
   the theme i’m currently using (maya shop) but I really can’t tell for sure.
    
   My question is, can someone point me in the right direction as to where I could
   find a good selection of Jigoshop compatible themes? Alternatively, is there 
   anyone on here who would be able to take a look at my website and figure out 
   why it is such resource hungry? (and get paid for it of course) Cheers.
 * ### Begin System Info ###
 *  Multi-site: No
 *  SITE_URL: [http://cheapoz.com.au](http://cheapoz.com.au)
    HOME_URL: [http://cheapoz.com.au](http://cheapoz.com.au)
 *  Jigoshop Version: 1.9.3.1
    WordPress Version: 3.9.1
 *  Platform: Windows
    Browser Name: Chrome Browser Version: 35.0.1916.114 User 
   Agent String: Mozilla/5.0 (Windows NT 6.3; WOW 64) AppleWebKit/537.36 (KHTML,
   l ike Gecko) Chrome/35.0.1916.114 Safari/537.36
 *  PHP Version: 5.3.28
    MySQL Version: 5.5.36 Web Server Info: Apache mod_fcgid/
   2.3.10-dev
 *  PHP Memory Limit: 256M
    PHP Post Max Size: 8MB PHP Upload Max File Size: 2MB
 *  WP_DEBUG: Disabled
 *  WP Table Prefix: Length: 3 Status: Acceptable
 *  Show On Front: page
    Page On Front: 15 Page For Posts: 17
 *  Session: Enabled
    Session Name: PHPSESSID Cookie Path: / Save Path: /tmp Use
   Cookies: On Use Only Cookies: On
 *  WordPress Memory Limit: 40MB
    WP_DEBUG: Off DISPLAY ERRORS: N/A FSOCKOPEN: Your
   server supports fsockopen.
 *  ACTIVE PLUGINS:
 *  Advanced Custom Fields: 4.3.8
    Contact Form 7: 3.8.1 Easy Table: 1.4 eWAY AU
   Direct Gateway for Jigoshop: 1.0 Jigoshop: 1.9.3.1 Premium Shipping for Jigoshop:
   1.0.1 Table Rate Shipping for Jigoshop: 2.0.6 WordPress SEO: 1.5.3.2 Zopim Widget:
   1.2.9
 *  CURRENT THEME:
 *  Maya Shop: 2.4.0
 *  ### End System Info ###

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/?output_format=md)

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

 * ![](https://s.w.org/plugins/geopattern-icon/jigoshop_655549.svg)
 * [Jigoshop](https://wordpress.org/plugins/jigoshop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jigoshop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jigoshop/)
 * [Active Topics](https://wordpress.org/support/plugin/jigoshop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jigoshop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jigoshop/reviews/)

 * 25 replies
 * 5 participants
 * Last reply from: [seannevo](https://wordpress.org/support/users/seannevo/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913616)
 * Status: resolved