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

---

# Parse error: syntax error, unexpected T_STRING

 *  Resolved [sjoshi](https://wordpress.org/support/users/sjoshi/)
 * (@sjoshi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-76/)
 * Hi,
 * I am using WP-Cassify 1.6.1 for CAS authentication. I have installed and activated
   this plugin in my local wordpress system and it works fine but when I am trying
   to activate this plugin on my production system, It throws the following error:
 * **Plugin could not be activated because it triggered a fatal error.
    Parse error:
   syntax error, unexpected T_STRING in /www/htdocs/w0096463/etesting.xxx.com/dev1/
   wp-content/plugins/wp-cassify/wp-cassify.php on line 61
 * My production wordpress is hosted on fully managed service system.
 * One more thing is, I have tried 1.5.9 and 1.6.0 versions also but getting same
   exception.
 * Any help is highly appreciable.
 * Thanks.
 * [https://wordpress.org/plugins/wp-cassify/](https://wordpress.org/plugins/wp-cassify/)

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

 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-76/#post-7214891)
 * Hi,
 * Well, I think it’s not an error syntax in my plugin because it works on your 
   local wordpress system.
    Can you give me more information on your production 
   environment : OS version, Apache version, PHP version, and mostly the list of
   wordpress enabled plugins on your production system. It seems to be an incompatibility
   with another plugin or a problem with your production configuration.
 * Best regards.
 *  Thread Starter [sjoshi](https://wordpress.org/support/users/sjoshi/)
 * (@sjoshi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-76/#post-7214939)
 * Hi Alain-Aymerick FRANCOIS,
 * List of plugins installed and activated in my production system:
 * Contact Form 7
    Duplicate post GrassBlade – xAPI Companion Hide Admin Bar Toolbar
   Insert or Embed Adobe Captivate Content into WordPress LearnDash LMS LearnDash
   Pro Panel My login/Logout Registered Users Only Slider Revolution University –
   Shortcodes University Event University Member University Project UpdraftPlus –
   Backup/Restore User Role Editor WP-PageNavi WPBakery Visual Composer
 * My production system’s PHP version is:5.2.4, WordPress version is: 4.4.2
 *  Thread Starter [sjoshi](https://wordpress.org/support/users/sjoshi/)
 * (@sjoshi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-76/#post-7214946)
 * Hi Alain-Aymerick FRANCOIS,
 * I have figured out that PHP Version at my production system is 5.2.17 where as
   PHP Version 5.5.9 in my local system and for WP-Cassify at least PHP version 
   5.3.10 is required as per your plugin description.
 * Is this the cause for this issue ? and If yes, then how can use WP-Cassify plugin
   for my production system, where PHP version is 5.2.17 ?
 * Can I use the lower version of WP-Cassify to meet the production system requirement.
   If yes, then let me know which version of WP-Cassify is best suits for PHP version
   5.2.17.
 * Thanks
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-76/#post-7214963)
 * Hi,
 * WP Cassify plugin require at least PHP version 5.3.1. See requirement :
    - [https://fr.wordpress.org/plugins/wp-cassify/](https://fr.wordpress.org/plugins/wp-cassify/)
    - [https://wpcassify.wordpress.com/requirements/](https://wpcassify.wordpress.com/requirements/)
 * This is because i use php namespaces in my code. Namespaces are only supported
   from 5.3 :
    [http://php.net/manual/en/language.namespaces.basics.php](http://php.net/manual/en/language.namespaces.basics.php).
 * I would advise you to upgrade your php version. Another reason is for security
   concerns.
 * I’m sorry but i can’t adapt my code because this will require a rewrite of all
   plugin code.
 * Best regards.
 *  Thread Starter [sjoshi](https://wordpress.org/support/users/sjoshi/)
 * (@sjoshi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-76/#post-7214966)
 * Thanks Alain-Aymerick FRANCOIS for your quick reply and support.

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

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

 * ![](https://ps.w.org/wp-cassify/assets/icon-256x256.png?rev=3112582)
 * [WP Cassify](https://wordpress.org/plugins/wp-cassify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cassify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cassify/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cassify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cassify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cassify/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [sjoshi](https://wordpress.org/support/users/sjoshi/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-76/#post-7214966)
 * Status: resolved