Title: WordPress Leads V1.4.6 Parse error: syntax error, unexpected
Last modified: August 22, 2016

---

# WordPress Leads V1.4.6 Parse error: syntax error, unexpected

 *  Resolved [VGonzaloMartinez](https://wordpress.org/support/users/vgonzalomartinez/)
 * (@vgonzalomartinez)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-leads-v146-parse-error-syntax-error-unexpected/)
 * – WordPress Leads
    – Version: 1.4.6 – Parse error: syntax error, unexpected –
   On: WordPress 4.0 “Benny”
 * – Plugin could not be activated because it triggered a fatal error.
    – Parse 
   error: syntax error, unexpected T_FUNCTION in /home/content/10/8527610/html/SITES/
   dmgDrilling/wp-content/plugins/leads/wordpress-leads.php on line 95
 * [https://wordpress.org/plugins/leads/](https://wordpress.org/plugins/leads/)

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

 *  Thread Starter [VGonzaloMartinez](https://wordpress.org/support/users/vgonzalomartinez/)
 * (@vgonzalomartinez)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-leads-v146-parse-error-syntax-error-unexpected/#post-5315554)
 * Same problem after new release Leads Ver: 1.5.0
 * Parse error: syntax error, unexpected T_FUNCTION in /home/content/10/8527610/
   html/SITES/SendMe-Flowers/wp-content/plugins/leads/classes/class.wordpress-core.
   email.php on line 61
 * Parse error: syntax error, unexpected T_FUNCTION in /home/content/10/8527610/
   html/SITES/dmgDrilling/wp-content/plugins/leads/classes/class.wordpress-core.
   email.php on line 61
 * Parse error: syntax error, unexpected T_FUNCTION in /home/content/10/8527610/
   html/main/wp-content/plugins/leads/classes/class.wordpress-core.email.php on 
   line 61
 * Please help
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-leads-v146-parse-error-syntax-error-unexpected/#post-5315555)
 * 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
 *  Plugin Author [Hudson Atwell](https://wordpress.org/support/users/adbox/)
 * (@adbox)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-leads-v146-parse-error-syntax-error-unexpected/#post-5315556)
 * Hello,
 * Just wanted to say that this error is due to us using an anonymous PHP function
   which is not supported by PHP 5.2.
 * We just removed it in the latest files. Will you try again?
 * Thank you for letting us know about this error.
 *  Thread Starter [VGonzaloMartinez](https://wordpress.org/support/users/vgonzalomartinez/)
 * (@vgonzalomartinez)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-leads-v146-parse-error-syntax-error-unexpected/#post-5315558)
 * Hello, thanks for the advice!
 * The Health Check Plugin results for my 3 sites are: All 3 hosted by godaddy:
   
   Site A 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.
 * Site B
    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.
 * Site C
    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.
 * Uninstall > select Delete These Files > reinstall Leads plugin v1.5.0 > then 
   activate the Leads plugin AND IT WORK in my 3 sites!
 * Thanks.
 * Q. Should I ask godaddy to upgrade the PHP? Do I gain a benefit out of it?
    Q.
   I presume it is ok to uninstall the Health Check Plugin, please confirm? Q. Should
   I make private or edit-out the my domain info out of my previous posting?
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-leads-v146-parse-error-syntax-error-unexpected/#post-5315560)
 * Q. Should I ask godaddy to upgrade the PHP? Do I gain a benefit out of it?
 * You can use the plugin
 * Q. I presume it is ok to uninstall the Health Check Plugin, please confirm?
 * Yes
 * Q. Should I make private or edit-out the my domain info out of my previous posting?
 * If you want to.

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

The topic ‘WordPress Leads V1.4.6 Parse error: syntax error, unexpected’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leads_6e6e6e.svg)
 * [WordPress Leads](https://wordpress.org/plugins/leads/)
 * [Support Threads](https://wordpress.org/support/plugin/leads/)
 * [Active Topics](https://wordpress.org/support/plugin/leads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leads/reviews/)

## Tags

 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * 5 replies
 * 3 participants
 * Last reply from: [David Wells](https://wordpress.org/support/users/davidwells/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/wordpress-leads-v146-parse-error-syntax-error-unexpected/#post-5315560)
 * Status: resolved