Title: Error in update
Last modified: August 21, 2016

---

# Error in update

 *  Resolved [matiaslaporte](https://wordpress.org/support/users/matiaslaporte/)
 * (@matiaslaporte)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-in-update/)
 * Hi, today I updated the plugin and got the following error:
 * Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/wp-login-
   box/plugin.php on line 210
 * Do you have any idea what could have happened?
 * Thanks
 * [http://wordpress.org/extend/plugins/wp-login-box/](http://wordpress.org/extend/plugins/wp-login-box/)

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

 *  Plugin Author [Ziv](https://wordpress.org/support/users/ziv/)
 * (@ziv)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-in-update/#post-3853244)
 * What is the version of php in your server? I think this is what causes the problem.
 *  Thread Starter [matiaslaporte](https://wordpress.org/support/users/matiaslaporte/)
 * (@matiaslaporte)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-in-update/#post-3853248)
 * My php version is 5.2.17.
 * I removed the function that was on those lines, and I could use the plugin, but
   I don’t know what it does :P.
 *  Plugin Author [Ziv](https://wordpress.org/support/users/ziv/)
 * (@ziv)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-in-update/#post-3853254)
 * What that line does is allow you to use the plugin as a widget. To do that, that
   line of code uses something called an anonymous function. These anonymous functions
   were introduced to php after version 5.3. You have 5.2 so your php doesn’t include
   anonymous functions.
 * The next plugin update will drop that anonymous function, it should be out soon.
 *  Thread Starter [matiaslaporte](https://wordpress.org/support/users/matiaslaporte/)
 * (@matiaslaporte)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-in-update/#post-3853255)
 * Great, thank you very much for the explanation and your support.
 * Cheers!

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

The topic ‘Error in update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-login-box_f4f4f4.svg)
 * [WP Login Box](https://wordpress.org/plugins/wp-login-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-login-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-login-box/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-login-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-login-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-login-box/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [matiaslaporte](https://wordpress.org/support/users/matiaslaporte/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/error-in-update/#post-3853255)
 * Status: resolved