Title: [Plugin: SyntaxHighlighter] Problems in wp version 2.7.1
Last modified: August 19, 2016

---

# [Plugin: SyntaxHighlighter] Problems in wp version 2.7.1

 *  Anonymous User 439586
 * (@anonymized-439586)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-problems-in-wp-version-271/)
 * Since updating from wordpress 2.7 to 2.7.1 I can not update posts containing [
   code] or [sourcecode] with syntaxhighlighter 1.1.2.
 * Error message is:
 * > Warning: htmlspecialchars_decode() expects parameter 1 to be string, NULL given
   > in /htdocs/wp-includes/compat.php on line 105
 * After that, the text between [code] and [/code] is lost.
    Someone with similar
   problems or any advises?
 * [http://wordpress.org/extend/plugins/syntaxhighlighter/](http://wordpress.org/extend/plugins/syntaxhighlighter/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [itsmeritesh](https://wordpress.org/support/users/itsmeritesh/)
 * (@itsmeritesh)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-problems-in-wp-version-271/#post-987575)
 * I am having a problem where the code bit that I write gets displayed twice instead
   of once. What should I do?
 *  [nyamsprod](https://wordpress.org/support/users/nyamsprod/)
 * (@nyamsprod)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-problems-in-wp-version-271/#post-987596)
 * I’m having the same problem as K.krohn… It found out that it was because of a
   bug in compat.php
    Someone has already mentioned it [http://core.trac.wordpress.org/ticket/9115](http://core.trac.wordpress.org/ticket/9115)
   so it’s very simple to fix this one…
 *  [Abdessamad Idrissi](https://wordpress.org/support/users/numediaweb/)
 * (@numediaweb)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-problems-in-wp-version-271/#post-987644)
 * anybody knows how to fix it?
 *  [Arian Xhezairi](https://wordpress.org/support/users/arian-xhezairi/)
 * (@arian-xhezairi)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-problems-in-wp-version-271/#post-987649)
 * I suggest you guys better use [Syntax Highlighter Plus](http://wordpress.org/extend/plugins/syntaxhighlighter-plus/).
   
   It works just fine up to WP 2.7.1, I at least didn’t experience any issue until
   now.
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-problems-in-wp-version-271/#post-987653)
 * numediaweb: upgrade to PHP5 or edit `compat.php` based on nyamsprod’s link.
 * Arian Xhezairi: SyntaxHighlighter Plus is literally a fork of my plugin and will
   likely experience the same issue. My guess is you’re on PHP5 which is why it 
   works.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: SyntaxHighlighter] Problems in wp version 2.7.1’ is closed to
new replies.

 * 5 replies
 * 6 participants
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-problems-in-wp-version-271/#post-987653)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
