• 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
    	);

    https://www.ads-software.com/extend/plugins/wp-markdown-syntaxhighlighter/

Viewing 1 replies (of 1 total)
  • Plugin Author mattshelton

    (@mattshelton)

    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.