Quick fix for Jigoshop 1.9+ on servers with PHP below 5.3.

May 132014
 
 Posted by on 13/05/2014 How-To's Tagged with: ,  Add comments
Problems and fixes for Jigoshop 1.9.5 in this article: https://drafie-design.nl/another-fix-for-jigoshop/

If you upgrade Jigoshop to the latest version on servers which still use PHP under 5.3., your shop will stop to work and will receive this error:

Parse error: syntax error, unexpected T_STRING in /home/(username)/(domain name)/wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system/jigoshop-web-optimization.php on line 32

Of course, the best is to ask your hosting company to upgrade PHP at least to 5.3. version, as this is now the minimum requirement for Jigoshop, but if this is not possible go by ftp at wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system and edit jigoshop-web-optimization.php.

Comment the line which create the problem:

 so, it will look as:

Can download the file from here and replace the original one from wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-systemChanged jigoshop-web-optimization.php

You will not benefit of the new feature for minifying CSS and JS of Jigoshop, but your shop will be functional again, at least until your host will upgrade the PHP on the server.

https://drafie-design.nl/quick-fix-for-jigoshop-1-9-on-servers-with-php-below-5-3/trackback/Trackback URI:  

Ciprian

Experienced web developer and graphic designer. Former consultant for Suffusion theme and former moderator on Suffusion Support forum. I teach others while learning myself.

Google+ Profile

    Google+ Page

 Leave a Reply

(Your comment will be published. To contact me privately, use the contact form.)

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  3 Responses to “Quick fix for Jigoshop 1.9+ on servers with PHP below 5.3.”

Comments (2) Pingbacks (1)
  1. Thank You Quero Mejores Fotos for the review and info.

    You practically re-installed an older version of Jigoshop. See this post for problems and fixes: http://www.drafie-design.nl/another-fix-for-jigoshop/

     
  2. Hello Ciprian Dracea, that help firts time, but there are another version of Jigoshop that not work with it fix. What i do was re-writing the files in server with another version before 1.9.x

    thanks

    complete solution in http://wordpress.org/support/topic/jigoshop-upgrade-to-191-fatal-error?replies=9#post-5630744