Title: Parse Error: Unexpected T-String
Last modified: August 31, 2016

---

# Parse Error: Unexpected T-String

 *  Resolved [theadgirl](https://wordpress.org/support/users/theadgirl/)
 * (@theadgirl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/)
 * This issue has happened on all of the websites I have that use RPS Image Gallery(
   which I adore, btw). After updating WordPress to 4.5, I updated RPS Image Gallery
   only to have blank screen with:
 * Parse error: syntax error, unexpected T_STRING in /home/content/39/7942139/html/
   allstatewaterproofing.com/wp-content/plugins/rps-image-gallery/rps-image-gallery.
   php on line 1614
 * I installed the Redux Framework plug-in, which kept me in my dashboard, but still
   gave me the same error at the top of the window.
 * I have Weaver II Pro and have never had a problem with RPS Image Gallery in the
   past. Not sure what is going on but I hope this helps trying to resolve the issue.
   Theme and all other plug-ins are up to date on all sites.
 * Thank you
 * [https://wordpress.org/plugins/rps-image-gallery/](https://wordpress.org/plugins/rps-image-gallery/)

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

 *  Plugin Author [redpixelstudios](https://wordpress.org/support/users/redpixelstudios/)
 * (@redpixelstudios)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296226)
 * Thanks for the kind words about RPS Image Gallery. In looking at line 1614 of
   RPS Image Gallery 2.1.6 we can see where there is a reference to a PHP namespace.
   We refactored RPS Image Gallery in version 2.0 to use object oriented programming
   and namespaces to make feature additions easier. Namespaces were introduced in
   PHP 5.3.0, so if you are running that version or greater it shouldn’t be a problem.
 * Could you check to see what [version of PHP](http://php.net/manual/en/function.phpversion.php)
   you are running?
 * If that is not the issue then we’ll do some more digging. Thanks in advance!
 *  Thread Starter [theadgirl](https://wordpress.org/support/users/theadgirl/)
 * (@theadgirl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296299)
 * According to GoDaddy, my version of MySQL is 5.5
 *  Plugin Author [redpixelstudios](https://wordpress.org/support/users/redpixelstudios/)
 * (@redpixelstudios)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296300)
 * As it turns out, MySQL is not a factor with this particular error you are seeing.
   We need to find out what version of PHP you are running instead. Is that something
   you can easily get from your host?
 *  Thread Starter [theadgirl](https://wordpress.org/support/users/theadgirl/)
 * (@theadgirl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296305)
 * Whoops! Sorry about that, I am using version 5 – the recent databases I have 
   created all use version 5.5 so I guess I’ll need to upgrade my version of php
   in order to use RPS Image Gallery? Would it be possible for me to use an older
   version until that happens?
 *  Plugin Author [redpixelstudios](https://wordpress.org/support/users/redpixelstudios/)
 * (@redpixelstudios)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296308)
 * No problem at all. Acronyms trip everybody up at some point.
 * Yes, you would need at least PHP 5.3 to run RPS Image Gallery 2.0.0 or greater.
   However you can run [RPS Image Gallery 1.2.29](https://downloads.wordpress.org/plugin/rps-image-gallery.1.2.29.zip)
   without issue on PHP 5.0.
 * We were just speaking today about setting up a feature within the plugin which
   would let site administrators know of a compatibility issue before updating, 
   and have a rough outline of it slated for a future release.
 * We do regret any trouble this has caused for you and hope you are able to get
   the PHP update done without much effort. [Your host may be able to assist you with the PHP upgrade](https://www.godaddy.com/help/view-or-change-your-php-version-16090).
 * Let us know if we can do anything else for you. Thanks!
 *  Thread Starter [theadgirl](https://wordpress.org/support/users/theadgirl/)
 * (@theadgirl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296361)
 * Thank you very much! And thank you for including the link to the older version
   as well 😉
 *  Plugin Author [redpixelstudios](https://wordpress.org/support/users/redpixelstudios/)
 * (@redpixelstudios)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296362)
 * You are quite welcome! Let us know if there is anything else we can do for you.
   Take care!
 *  [ortiztbwa](https://wordpress.org/support/users/ortiztbwa/)
 * (@ortiztbwa)
 * [10 years ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296465)
 * I have the same problem:
 * Parse error: syntax error, unexpected T_STRING in /home/ad000428/public_html/
   wp-content/plugins/rps-image-gallery/rps-image-gallery.php on line 1614
 * I dont undestand:
    Should i replace the current version 2.1.6 by 1.2.29 ? How
   I should to replace the current version 2.1.6 by 1.2.29?
 *  Plugin Author [redpixelstudios](https://wordpress.org/support/users/redpixelstudios/)
 * (@redpixelstudios)
 * [10 years ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296466)
 * Correct. As of version 2.0.0, the minimum required version of PHP is 5.3. So 
   you have a couple of options.
 * 1. Ask your hosting provider to update your version of PHP to at least 5.3.0.
   
   2. Install the latest version just prior to 2.0.0 which is [version 1.2.29](https://downloads.wordpress.org/plugin/rps-image-gallery.1.2.29.zip).
 * Since you likely have FTP access to your site, simply delete the rps-image-gallery
   directory from the plugins directory, then upload version 1.2.29 using your preferred
   method.
 * Let us know if we can be of further assistance.

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

The topic ‘Parse Error: Unexpected T-String’ is closed to new replies.

 * ![](https://ps.w.org/rps-image-gallery/assets/icon-256x256.png?rev=1384246)
 * [RPS Image Gallery](https://wordpress.org/plugins/rps-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rps-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rps-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/rps-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rps-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rps-image-gallery/reviews/)

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 9 replies
 * 3 participants
 * Last reply from: [redpixelstudios](https://wordpress.org/support/users/redpixelstudios/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/parse-error-unexpected-t-string-1/#post-7296466)
 * Status: resolved