Title: Parse error: syntax error, unexpected T_FUNCTION in /home/content/07/8699607/htm
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_FUNCTION in /home/content/07/8699607/htm

 *  Resolved [mfishbein](https://wordpress.org/support/users/mfishbein/)
 * (@mfishbein)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/)
 * Hi, I am getting the following message after uploading and attempting to active
   the plugin:
 * > Parse error: syntax error, unexpected T_FUNCTION in /home/content/07/8699607/
   > html/wp-content/plugins/landing-pages/landing-pages.php on line 124
 * What can I do to fix this?
 * Thanks,
 * Mike
 * [https://wordpress.org/plugins/landing-pages/](https://wordpress.org/plugins/landing-pages/)

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

 *  [thatsizz](https://wordpress.org/support/users/thatsizz/)
 * (@thatsizz)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112916)
 * same error. need help
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112917)
 * Please install the health check plugin and verify your site runs on PHP version
   5.3 or greater. [http://wordpress.org/plugins/health-check/](http://wordpress.org/plugins/health-check/)
 * Sometimes hosting providers display incorrect information about what version 
   you are running and you need to install the health check plugin to verify.
 * If it is not greater than 5.3.3. You need to contact your hosting provider for
   them to upgrade. PHP 5.3.3 came out in 2010
 *  [mssdidi](https://wordpress.org/support/users/mssdidi/)
 * (@mssdidi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112924)
 * This is the message I received from running Health Check:
 * “Excellent: Your server is running PHP version 5.2.17 and MySQL version 5.5.37
   which will be great for WordPress 3.2 onward.”
 * I still receive the error similar to what the others mentioned:
 * …/wp/wp-content/plugins/landing-pages/landing-pages.php on line 124
 * Please advise. Thank you!
 * [http://noblefetish.com/wp/](http://noblefetish.com/wp/)
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112925)
 * You need php 5.3.3 or higher
 *  [wordwoof](https://wordpress.org/support/users/wordwoof/)
 * (@wordwoof)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112926)
 * Hi David,
 * When trying to activate the plugin I am getting: –
 * Parse error: syntax error, unexpected ‘add_filter’ (T_STRING) in /data01/c9104702/
   public_html/humanrev/wp-content/plugins/landing-pages/modules/module.clone.php
   on line 1
 * I am running php 5.4 and wordpress install 3.7.3
 * Please advise. Thanks,
 * Louis
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112927)
 * your ftp client might be mushing the code together.
 * This happened to me using Filezilla. You need to set the data transfer type to
   binary.
 * Some times your software installation might not work because you need to transfer
   your files in Binary . This video shows you where to change the transfer type
   in filezilla.
 *  [wordwoof](https://wordpress.org/support/users/wordwoof/)
 * (@wordwoof)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112928)
 * You hit the nail on the head and brilliantly prompt reply. Do you have a donation
   page?
 * Best,
 * Louis
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112929)
 * There is a link to the paypal donation page in the global settings page of the
   plugin (in the sidebar)
 * If you like the plugin (or the support), we would love a quick review from you
   on the [WordPress Plugin Repository](http://wordpress.org/support/view/plugin-reviews/landing-pages#postform),
   it would really help us out!
 * You can [leave a review here](http://wordpress.org/support/view/plugin-reviews/landing-pages#postform).
 * Thanks and let me know if you have any questions about the plugin.
 *  [mssdidi](https://wordpress.org/support/users/mssdidi/)
 * (@mssdidi)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112961)
 * Hi David,
 * Apologies for the long delay. Thank you for your help. And We made a donation,
   too!

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

The topic ‘Parse error: syntax error, unexpected T_FUNCTION in /home/content/07/
8699607/htm’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/landing-pages_88766e.svg)
 * [WordPress Landing Pages](https://wordpress.org/plugins/landing-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/landing-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/landing-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/landing-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/landing-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/landing-pages/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 9 replies
 * 5 participants
 * Last reply from: [mssdidi](https://wordpress.org/support/users/mssdidi/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-in-homecontent078699607htm/#post-5112961)
 * Status: resolved