Title: Parse error: syntax error, unexpected T_STRING in &#8230; php-browser-detection.php
Last modified: August 22, 2016

---

# Parse error: syntax error, unexpected T_STRING in … php-browser-detection.php

 *  Resolved [timpascal](https://wordpress.org/support/users/timpascal/)
 * (@timpascal)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-php-browser-detectionphp/)
 * I have not been able to get this plugin to work since version 2.2.3. The latest
   attempt to activate the lates version results in the following message:
 * Plugin could not be activated because it triggered a fatal error.
 * Parse error: syntax error, unexpected T_STRING in /homepages/18/d153920459/htdocs/
   www/issdev/wp-content/plugins/php-browser-detection/php-browser-detection.php
   on line 45
 * [https://wordpress.org/plugins/php-browser-detection/](https://wordpress.org/plugins/php-browser-detection/)

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

 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-php-browser-detectionphp/#post-5388354)
 * This has been answered numerous times on the forums. This error is because you
   are using an old version of PHP.
 *  Thread Starter [timpascal](https://wordpress.org/support/users/timpascal/)
 * (@timpascal)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-php-browser-detectionphp/#post-5388361)
 * Thanks, wasn’t sure that was the problem. Now a PHP upgrade comes with a whole
   new set of problems, but that’s for a different forum lol. Thanks for your patience
   and support. Great plugin.

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

The topic ‘Parse error: syntax error, unexpected T_STRING in … php-browser-detection.
php’ is closed to new replies.

 * ![](https://ps.w.org/php-browser-detection/assets/icon-256x256.png?rev=999338)
 * [PHP Browser Detection](https://wordpress.org/plugins/php-browser-detection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-browser-detection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-browser-detection/)
 * [Active Topics](https://wordpress.org/support/plugin/php-browser-detection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-browser-detection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-browser-detection/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [timpascal](https://wordpress.org/support/users/timpascal/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-in-php-browser-detectionphp/#post-5388361)
 * Status: resolved