Title: syntax error, unexpected T_FUNCTION, PHP 5.4.43
Last modified: August 30, 2016

---

# syntax error, unexpected T_FUNCTION, PHP 5.4.43

 *  ResolvedPlugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/)
 * Continued from here: [https://wordpress.org/support/topic/no-longer-works-with-cf7-41/page/2?replies=39](https://wordpress.org/support/topic/no-longer-works-with-cf7-41/page/2?replies=39)
 * Things to try:
 * 1. Removing the plugin folder entirely and then reinstall.
    2. Replacing line
   51-53 with:
 *     ```
       add_filter('bwp_capt_init_priority', create_function('', 'return 9;'));
       ```
   
 * [https://wordpress.org/plugins/bwp-recaptcha/](https://wordpress.org/plugins/bwp-recaptcha/)

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/?output_format=md)
[1](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/?output_format=md)
2

 *  [hleander](https://wordpress.org/support/users/hleander/)
 * (@hleander)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/page/2/#post-6462084)
 * Another Update. It looks like the build in Contact Form 7 reCaptcha was the one
   not working. I never saw an BWP reCaptcha selector only the CF7 reCaptcha. Hope
   this get you further to a resolution that can help us all.
 * Here is my current configuration with plugins:
 * WP =
    BWP reCaptcha = Version 2.0.2-beta1 Contact Form 7 reCAPTCHA extension 
   = Version 0.1.0 PHP = V5.3
 * If there is any other information that you need just let me know, I will respond
   with both good and/or results from whatever you suggest
 * Hank Leander
 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/page/2/#post-6462085)
 * What version of contact form 7 are you using? If you’re using 4.3, see this: 
   [https://github.com/OddOneOut/bwp-recaptcha/issues/21](https://github.com/OddOneOut/bwp-recaptcha/issues/21)
 * BWP recaptcha doesn’t provide “Contact Form 7 reCAPTCHA extension = Version 0.1.0”,
   recaptcha should work by default without any other extension.
 * I’m assuming that you can access BWP recaptcha’s admin pages to change settings
   and can add captcha to comment form normally?
 *  [hleander](https://wordpress.org/support/users/hleander/)
 * (@hleander)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/page/2/#post-6462086)
 * Thanks for the update. Read the post and then went back to the plugins and deactivated
   the Contact Form 7 reCAPTCHA extension which was suppose to required either wp-
   reCaptcha or BWP reCaptcha to work with Contact Form 7 V4.3.
 * And what do you know, your Beta1 plugin now gives me the BWP reCaptcha button
   and the Capatch is showing on the contact page correctly: [Contact Us Page](http://hlecomputerconsulting.com/contact-us/)
 * I really appreciate your Help Khang Minh – my site is back up and fully functional
   🙂
 * Thanks for all your support,
    Hank Leander HLE Product Support Lead

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/?output_format=md)
[1](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/?output_format=md)
2

The topic ‘syntax error, unexpected T_FUNCTION, PHP 5.4.43’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bwp-recaptcha.svg)
 * [Better WordPress reCAPTCHA (with no CAPTCHA reCAPTCHA)](https://wordpress.org/plugins/bwp-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bwp-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bwp-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/bwp-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bwp-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bwp-recaptcha/reviews/)

 * 18 replies
 * 6 participants
 * Last reply from: [hleander](https://wordpress.org/support/users/hleander/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-3/page/2/#post-6462086)
 * Status: resolved