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 10 replies - 16 through 25 (of 25 total)

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

 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913604)
 * if you have lot of products/orders happening – maybe it’s just time to move to
   dedicated hosting.
    if it’s not much orders and products – it can be theme. You
   can try switching to something else/disabling some sidebars etc. To know more–
   let us know what was real reason behind ban – too much/slow mysql queries? any
   other resources overuse? If you have any details from host – that would be helpful.
 *  Plugin Author [MWSGD](https://wordpress.org/support/users/mwsgd/)
 * (@mwsgd)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913605)
 * The following link will explain how to cache with Jigoshop,
 * [https://www.jigoshop.com/documentation/using-caching-plugins-jigoshop/](https://www.jigoshop.com/documentation/using-caching-plugins-jigoshop/)
 * Hope it helps
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913607)
 * [@optart](https://wordpress.org/support/users/optart/) I don’t have many orders
   or more than 2-3 visitors at the same time. I have about 300 products, i don’t
   know if that’s a lot or not as I don’t have anything to compare with.
    Looking
   at the resource usage on my cpanel, my physical memory usage is constantly pretty
   close to my 512mb max allocation, and that’s when there are no visitors on my
   website, things get uglier when there are visitors. Working on my admin dashboard,
   often causes the website to return error 503 service unavailable due to it exceeding
   both memory and cpu usage. [http://cheapoz.com.au/?attachment_id=5398](http://cheapoz.com.au/?attachment_id=5398)
   Appreciate any input. Thank you.
 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913608)
 * if that’s possible – switch for sth like 5 mins theme to twenty something to 
   see if it’s causing memory usage to go down or not. See as well caching possibilities
   described by MWSGD
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913609)
 * I’ve noticed that a lot of my jigoshop settings have disappeared, including all
   my shipping and payment gateway settings.
    Had a look at my wp-content folder
   and realized that all the jigoshop folders such as admin,shipping,classes,assets
   etc’ are present both in the jigoshop folder as well as in the wp-content/plugins
   folder. Is there a way for me to restore these settings using older backup files,
   and if so what files should i be looking for? Thank you.
 *  [OptArt](https://wordpress.org/support/users/optart/)
 * (@optart)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913610)
 * – jigoshop files should be only in wp-content/plugins
    – settings – there were
   no changes to that recently. you can try to revert to 1.8.4, upgrade to 1.8.6
   and then to newest 1.9.4 but in general it shouldnt be necessary
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913613)
 * I’ve done that but whatever previous settings i had left got wiped out as well.
   my I don’t understand how that happens, if i use an older backup to overwrite
   jigoshop shouldn’t that restore the old settings with it? Is there another file
   outside of jigoshop that needs to be restored from backup?
 *  Moderator [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913614)
 * Settings for WordPress plugins are stored in your database, not in a file.
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913615)
 * Thank you chriscct7, I knew i was wasting my time restoring jigoshop. Threre 
   was nothing wrong with the plugin. Cheers.
 *  [seannevo](https://wordpress.org/support/users/seannevo/)
 * (@seannevo)
 * [12 years ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-51/page/2/#post-4913616)
 * Is this folder meant to be there? plugins/jigoshop/trunk

Viewing 10 replies - 16 through 25 (of 25 total)

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

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