Fatal error : tag_suggest.php on line 28

Hi,
I've just installed the brand new 1.2 version and I get this :
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/mysite/zenphoto/zp-core/plugins/tag_suggest.php on line 28

Do you have any ideas about this ?

Thanks.

Comments

  • Which page do you see this error on?
  • flu Member
    Hi,
    I see it on every page as soon as the Tag suggest plugin is enabled (using the default theme).
  • This should be fixed in tonights nightly build. For now, if you add the following code to functions.php it should fix the problem.

    `if (!function_exists("htmlspecialchars_decode")) {

    function htmlspecialchars_decode($string, $quote_style = ENT_COMPAT) {

    return strtr($string, array_flip(get_html_translation_table(HTML_SPECIALCHARS, $quote_style)));

    }

    }`
  • flu Member
    Thank you Krainbolt, I'll try the next nightly.
  • flu Member
    Ok, this is fixed (version [2222]).

    Thank you.
Sign In or Register to comment.