Member
Member
flu   2008-08-16, 14:53
#1

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.

Member
Member
krainbolt   2008-08-16, 15:15
#2

Which page do you see this error on?

Member
Member
flu   2008-08-16, 15:23
#3

Hi,
I see it on every page as soon as the Tag suggest plugin is enabled (using the default theme).

Member
Member
krainbolt   2008-08-16, 15:25
#4

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

}

}`

Member
Member
flu   2008-08-16, 16:03
#5

Thank you Krainbolt, I'll try the next nightly.

Member
Member
flu   2008-08-18, 11:23
#6

Ok, this is fixed (version [2222]).

Thank you.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.