{"id":6495679,"date":"2015-08-31T16:12:37","date_gmt":"2015-08-31T16:12:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/syntax-error-t_function\/"},"modified":"2016-08-30T17:27:31","modified_gmt":"2016-08-30T17:27:31","slug":"syntax-error-t_function","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/syntax-error-t_function\/","title":{"rendered":"Syntax error T_FUNCTION"},"content":{"rendered":"<p>Hello, after update plugin i have a error.<br \/>\nParse error: syntax error, unexpected T_FUNCTION in \/wp-content\/plugins\/interactive-polish-map\/snippets\/widget_map.php on line 142<\/p>\n<p>add_action(<br \/>\n    &#8216;widgets_init&#8217;,<br \/>\n    function() {<br \/>\n        register_widget(&#8220;InteractivePolishMapWidget&#8221;);<br \/>\n    }<br \/>\n);<\/p>\n<p>How to repair this error?<br \/>\nThanks for all help.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/interactive-polish-map\/<\/p>\n","protected":false},"template":"","class_list":["post-6495679","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6495679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6495679\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6495679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}