Title: Syntax error T_FUNCTION
Last modified: August 30, 2016

---

# Syntax error T_FUNCTION

 *  [przemo191191](https://wordpress.org/support/users/przemo191191/)
 * (@przemo191191)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-t_function/)
 * Hello, after update plugin i have a error.
    Parse error: syntax error, unexpected
   T_FUNCTION in /wp-content/plugins/interactive-polish-map/snippets/widget_map.
   php on line 142
 * add_action(
    ‘widgets_init’, function() { register_widget(“InteractivePolishMapWidget”);});
 * How to repair this error?
    Thanks for all help.
 * [https://wordpress.org/plugins/interactive-polish-map/](https://wordpress.org/plugins/interactive-polish-map/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-t_function/#post-6495875)
 * Dear Przemo
 * Please upgrade your PHP to 5.3.
 * Cheers,
    Marcin

Viewing 1 replies (of 1 total)

The topic ‘Syntax error T_FUNCTION’ is closed to new replies.

 * ![](https://ps.w.org/interactive-polish-map/assets/icon-256x256.png?rev=1135180)
 * [Interactive Polish Map](https://wordpress.org/plugins/interactive-polish-map/)
 * [Support Threads](https://wordpress.org/support/plugin/interactive-polish-map/)
 * [Active Topics](https://wordpress.org/support/plugin/interactive-polish-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/interactive-polish-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/interactive-polish-map/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-t_function/#post-6495875)
 * Status: not resolved