Title: unexpected T_STRING Error
Last modified: August 31, 2016

---

# unexpected T_STRING Error

 *  Resolved [yoderman94](https://wordpress.org/support/users/yoderman94/)
 * (@yoderman94)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/unexpected-t_string-error-3/)
 * I am getting the following error when I try to activate Carbon Fields
 * Parse error: syntax error, unexpected T_STRING in /home/sitename/public_html/
   new/wp-content/plugins/carbon-fields/carbon-fields.php on line 2
 * Any idea as to what the cause might be?
 * [https://wordpress.org/plugins/carbon-fields/](https://wordpress.org/plugins/carbon-fields/)

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

 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/unexpected-t_string-error-3/#post-7076174)
 * Hi [@yoderman94](https://wordpress.org/support/users/yoderman94/),
 * It appears you’re using an incompatible PHP version (PHP 5.2.* or lower).
 * Carbon Fields supports only PHP 5.3, as you can read in its documentation and
   readme. So your only way around this is to use PHP 5.3 or newer.
 * You should note that PHP 5.2 has reached its end of life more than 5 years ago.
   It is not supported anymore and is potentially insecure. Using a supported version(
   5.5, 5.6, 7.0) is recommended.
 * In case you need information about the PHP supported and unsupported versions,
   feel free to visit:
 * [http://php.net/supported-versions.php](http://php.net/supported-versions.php)
   
   [http://php.net/eol.php](http://php.net/eol.php)
 *  Thread Starter [yoderman94](https://wordpress.org/support/users/yoderman94/)
 * (@yoderman94)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/unexpected-t_string-error-3/#post-7076293)
 * That makes perfect sense, the current site is running a really old version of
   real estate software and I think I remember we had to work on the server to make
   it run when we took over the hosting.

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

The topic ‘unexpected T_STRING Error’ is closed to new replies.

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

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [yoderman94](https://wordpress.org/support/users/yoderman94/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/unexpected-t_string-error-3/#post-7076293)
 * Status: resolved