Forums

[Plugin: SyntaxHighlighter] Problems in wp version 2.7.1 (6 posts)

  1. k.krohn
    Member
    Posted 8 months ago #

    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/

  2. itsmeritesh
    Member
    Posted 8 months ago #

    I am having a problem where the code bit that I write gets displayed twice instead of once. What should I do?

  3. nyamsprod
    Member
    Posted 8 months ago #

    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
    so it's very simple to fix this one...

  4. numediaweb
    Member
    Posted 8 months ago #

    anybody knows how to fix it?

  5. Arian Xhezairi
    Member
    Posted 8 months ago #

    I suggest you guys better use Syntax Highlighter Plus.
    It works just fine up to WP 2.7.1, I at least didn't experience any issue until now.

  6. Viper007Bond
    Member
    Posted 7 months ago #

    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.

Reply

You must log in to post.

About this Topic