Title: Syntax error on pie-register.php after update
Last modified: August 21, 2016

---

# Syntax error on pie-register.php after update

 *  Resolved [shami220099](https://wordpress.org/support/users/shami220099/)
 * (@shami220099)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/)
 * Hi
    My blog is here [DKK BLOG](http://dkk.dezertdezinez.com/blog)
 * I just did an update on the pie register plug in and got a syntax error. It also
   said it’s on line 1974 of the pieregister.php page.
 * I just tried to re-install and now it’s giving me this
    Plugin could not be activated
   because it triggered a fatal error.
 * **Parse error: syntax error, unexpected T_FUNCTION in /home/james333/public_html/
   dkk/blog/wp-content/plugins/pie-register/pie-register.php on line 1974**
 * I need to know how to fix this as it’s not letting me do anything else on my 
   blog ..
 * [http://wordpress.org/extend/plugins/pie-register/](http://wordpress.org/extend/plugins/pie-register/)

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

 *  [cwjordan](https://wordpress.org/support/users/cwjordan/)
 * (@cwjordan)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922023)
 * Oh, I got this too. It means your version of PHP is too old. I was running PHP
   5.2 and I had to upgrade to PHP 5.3 to fix it. Google says that “anonymous functions
   are only supported on 5.3+”.
 * Now, given that PHP 5.2 is supported by WordPress still, I think there should
   at least be a warning in the Pie-Register release notes about the required PHP
   version changing with version 1.30 of Pie-Register.
 *  [elspanko](https://wordpress.org/support/users/elspanko/)
 * (@elspanko)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922103)
 * the latest version broke my site as well with the error message listed above.
   My host is running PHP 5.2.17 and I don’t anticipate they are going to upgrade
   on my account to get this plugin to work.
 * I’d like to reinstall the old version – is it available for download anywhere?
 *  [wallacewillow](https://wordpress.org/support/users/wallacewillow/)
 * (@wallacewillow)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922115)
 * I have the same problem…. what I am going to try is to erase the new version 
   through ftp and intall an old one. You can download here on “Developers”.
 *  [Gaynogger](https://wordpress.org/support/users/gaynogger/)
 * (@gaynogger)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922117)
 * Bekomme ebenfalls die Meldung Parse error: syntax error, unexpected T_FUNCTION
   in /home/www/web469/html/jens/wp-content/plugins/pie-register/pie-register.php
   on line 1974, nachdem Update
 *  [wallacewillow](https://wordpress.org/support/users/wallacewillow/)
 * (@wallacewillow)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922129)
 * Hi again. My site works again. I have renamed through FTP the folder wp-content/
   plugins into /plugins_no. Before I have got into backend and rename again into
   plugins. All plugins were “off”. I have inactivated and erased the “pie register”
   one and reactivated the others… It has worked for me.
 *  [vietnamica](https://wordpress.org/support/users/vietnamica/)
 * (@vietnamica)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922156)
 * Pie register is a helpful plugin. But this updated version is really a fatal 
   error. Please help. Thanks.
 *  Plugin Contributor [genetech](https://wordpress.org/support/users/genetech/)
 * (@genetech)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922200)
 * A fixed version has been released. Please update the plugin.
 * Thanks
 *  [vietnamica](https://wordpress.org/support/users/vietnamica/)
 * (@vietnamica)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922201)
 * The updated version works well. Thank you very much.
 *  [apreviatti](https://wordpress.org/support/users/apreviatti/)
 * (@apreviatti)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922368)
 * Unable activated because it generated a fatal error
 * Parse error: syntax error, unexpected T_FUNCTION in /home/storage/1/54/c8/sorriaousorria3/
   public_html/wp-content/plugins/pie-register/pie-register.php on line 95
 * Help!
 * Version 2.0
    WP 3.8.1

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

The topic ‘Syntax error on pie-register.php after update’ is closed to new replies.

 * ![](https://ps.w.org/pie-register/assets/icon-256x256.png?rev=2467686)
 * [Pie Register – User Registration, Profiles & Content Restriction](https://wordpress.org/plugins/pie-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-register/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-register/reviews/)

 * 9 replies
 * 8 participants
 * Last reply from: [apreviatti](https://wordpress.org/support/users/apreviatti/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-on-pie-registerphp-after-update/#post-3922368)
 * Status: resolved