Title: unexpected T_STRING (version 3.0.0)
Last modified: August 30, 2016

---

# unexpected T_STRING (version 3.0.0)

 *  Resolved [Javi](https://wordpress.org/support/users/wizard_/)
 * (@wizard_)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-t_string-version-300/)
 * Hello!
 * I upgraded to the latest version (3.0.0) and I’ve this error code:
 * Parse error: syntax error, unexpected T_STRING in /home/fjp/public_html/wp-content/
   plugins/wp-typography/class-wp-typography.php on line 202
 * I downgrade to the previous version until this can be solved.
 * Thanks!
 * [https://wordpress.org/plugins/wp-typography/](https://wordpress.org/plugins/wp-typography/)

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

 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-t_string-version-300/#post-6810372)
 * Which version of PHP are you running? This sounds like a non-namespace version
   of PHP (i.e. below 5.3.0).
 * While the plugin should check for PHP 5.2 before loading, I just noticed that
   the addition to namespaces breaks this at the parsing stage. I’ll try to fix 
   this as soon as possible. However, to actually run wp-Typography 3.0.0, you will
   have to upgrade your PHP installation to at least 5.3.0.
 *  Thread Starter [Javi](https://wordpress.org/support/users/wizard_/)
 * (@wizard_)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-t_string-version-300/#post-6810386)
 * Hello again. Yes, that’s the problem, but unfortunately I can’t upgrade my version
   of PHP (shared hosting), the server currently runs PHP 5.2.17. I’ll have to wait
   and see if I can upgrade in the future to 3.0.0 without PHP 5.3.0 or later. Thank
   you very much for the quick reply!
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-t_string-version-300/#post-6810390)
 * No, sorry, there will never be a 3.x version without the namespaces (i.e. >= 
   PHP 5.3) requirement because the HTML5 parser won’t work without them. Sorry 
   that I don’t have better news 🙁
 * (I don’t know who your host is, but PHP 5.2 is so far out of date that every 
   provider should have some upgrade path by now.)

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

The topic ‘unexpected T_STRING (version 3.0.0)’ is closed to new replies.

 * ![](https://ps.w.org/wp-typography/assets/icon.svg?rev=2663995)
 * [wp-Typography](https://wordpress.org/plugins/wp-typography/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-typography/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-typography/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-typography/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-typography/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-typography/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [pepe](https://wordpress.org/support/users/pputzer/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-t_string-version-300/#post-6810390)
 * Status: resolved