Title: Parse Error
Last modified: August 30, 2016

---

# Parse Error

 *  Resolved [onceuponachapter](https://wordpress.org/support/users/onceuponachapter/)
 * (@onceuponachapter)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/parse-error-343/)
 * I’m sure this is probably something that I have done but when I try to install
   the Expanding Archives widget it tells me that it would not activate due to a
   fatal error and gives me this:
 * Parse error: syntax error, unexpected T_FUNCTION in /home/content/70/8898470/
   html/wp-content/plugins/expanding-archives/inc/widget-expanding-archives.php 
   on line 145
 * I took a look at it to see if I could see what it was referencing but I don’t
   dare mess with code. Can you tell me what it is I’ve done?
 * Thanks!
 * [https://wordpress.org/plugins/expanding-archives/](https://wordpress.org/plugins/expanding-archives/)

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

 *  Plugin Author [Ashley](https://wordpress.org/support/users/nosegraze/)
 * (@nosegraze)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/parse-error-343/#post-6310609)
 * That means your host is running a PHP version LESS than 5.3, because PHP 5.3 
   is required to run the piece of code that’s on that line.
 * To put that in perspective, 5.3 (the one you don’t have yet) became an “unsupported
   branch” in August 2014. See: [Unsupported Branches](http://php.net/eol.php) But
   you’re probably running more like 5.2, which became unsupported in January 2011!!
 * You’ll need to talk to your host about upgrading to a newer version (it’s up 
   to 5.6 now).
 *  Thread Starter [onceuponachapter](https://wordpress.org/support/users/onceuponachapter/)
 * (@onceuponachapter)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/parse-error-343/#post-6310753)
 * Thanks so much! I went to my host and they said that there default was 5.3 but
   my site was still set to 5. It was a quick fix and then the plugin worked.

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

The topic ‘Parse Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/expanding-archives.svg)
 * [Expanding Archives](https://wordpress.org/plugins/expanding-archives/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/expanding-archives/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/expanding-archives/)
 * [Active Topics](https://wordpress.org/support/plugin/expanding-archives/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/expanding-archives/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/expanding-archives/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [onceuponachapter](https://wordpress.org/support/users/onceuponachapter/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/parse-error-343/#post-6310753)
 * Status: resolved