Conversation
supportAn 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/
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.
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.