Title: Parse error: syntax error, unexpected T_STRING
Last modified: September 19, 2016

---

# Parse error: syntax error, unexpected T_STRING

 *  Resolved [phenomenx](https://wordpress.org/support/users/phenomenx/)
 * (@phenomenx)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-71/)
 * Hello,
    Like others I keep getting this error when trying to activate:
 * Parse error: syntax error, unexpected T_STRING in …/wp-content/plugins/category-
   posts/cat-posts.php on line 11
 * PHP is Ver. 5.4.24
    Wordpress is 4.6.1

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * (@kometschuh)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-71/#post-8199574)
 * Do you’re running a cache system (such as W3 Total Cache or WP Super Cache) or
   if your server is behind a CDN, please clean all your caches. Otherwise, you 
   may serve old versions of our widget and therefore the widget may not work properly.
 * In older posts user update the widget to the new version and than it works. So
   please play a bit araound and deinstall and install the widget at the physical
   driver, install a older version from here ([https://wordpress.org/plugins/category-posts/developers/](https://wordpress.org/plugins/category-posts/developers/))
   and update with the WordPress admin panel, etc.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/category-posts/assets/icon-256x256.png?rev=1419008)
 * [Category Posts Widget](https://wordpress.org/plugins/category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-posts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Floeter](https://wordpress.org/support/users/kometschuh/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-71/#post-8199574)
 * Status: resolved