Title: Error an activate plugin
Last modified: August 21, 2016

---

# Error an activate plugin

 *  [erufenix](https://wordpress.org/support/users/erufenix/)
 * (@erufenix)
 * [13 years ago](https://wordpress.org/support/topic/error-an-activate-plugin/)
 * An get error to activate plugin
 * El plugin no ha podido activarse porque ha provocado un error fatal.
 * Parse error: syntax error, unexpected T_FUNCTION in /home/u54723/domains/erufenix.
   com.mx/public_html/wp-content/plugins/wp-markdown-syntaxhighlighter/wp-markdown-
   syntaxhighlighter.php on line 49
 * line 49 in wp-markdown-syntaxhighlighter.php
 *     ```
       function wmsh_filter_markdown( $text ) {
       	$return = preg_replace_callback(
       		'<pre><code>#!!([^\n]+)\n(.*?)</code></pre>|s',
       		function( $m ) {
       			return wmsh_add_parameters($m[2], $m[1]);
       		},
       		$text
       	);
       ```
   
 * [http://wordpress.org/extend/plugins/wp-markdown-syntaxhighlighter/](http://wordpress.org/extend/plugins/wp-markdown-syntaxhighlighter/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [mattshelton](https://wordpress.org/support/users/mattshelton/)
 * (@mattshelton)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/error-an-activate-plugin/#post-3797311)
 * Hi. Are you using a version of PHP prior to 5.3.0? That error occurs when your
   version of PHP doesn’t support the anonymous function here.
 * _PS: Sorry this took so long to reply. I don’t watch the support forums (though
   I will now) and I had expected to get an email if anyone posted here, but did
   not._

Viewing 1 replies (of 1 total)

The topic ‘Error an activate plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-markdown-syntaxhighlighter.svg)
 * [WP-Markdown-SyntaxHighlighter](https://wordpress.org/plugins/wp-markdown-syntaxhighlighter/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-markdown-syntaxhighlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-markdown-syntaxhighlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-markdown-syntaxhighlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-markdown-syntaxhighlighter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mattshelton](https://wordpress.org/support/users/mattshelton/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/error-an-activate-plugin/#post-3797311)
 * Status: not resolved