mariano
Member
Posted 3 years ago #
Hi there,
I',m sorry but i got no idea on how to solve this message:
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/.kairo/XXX.COM/wp-includes/comment-template.php on line 821
Should i get back to 2.6? Or can anyone give an idea on how i can solve this? :)
thanks!
is this a brand new install? or an upgrade?
mariano
Member
Posted 3 years ago #
Hi Whooami,
its an upgrade via SVN and its giving me this problem since yesterday at night.
upgrade from another beta version, i assume?
mariano
Member
Posted 3 years ago #
yep... the previous release, which has no single problem with that :S
ok, well so we are sure that we are both looking at the same thing. My line 821 in wp-includes/comment-template.php
reads:
elseif ( file_exists( TEMPLATEPATH . $file ) )
whats yours read?
My beta3 was grabbed from here though, and not the svn
mariano
Member
Posted 3 years ago #
on mine it says:
$comments = $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND ( comment_approved = '1' OR ( comment_author = %s AND comment_author_email = %s AND comment_approved = '0' ) ) ORDER BY comment_date", $post->ID, htmlspecialchars_decode($comment_author, ENT_QUOTES), $comment_author_email));
hmm, let me make sure I have the right file ... I do.
ok, hang on, I grabbed your copy out of the svn.
ok, I can tell you how to fix that. htmlspecialchars_decode is specific to PHP 5. I assume you are using PHP 4?
mariano
Member
Posted 3 years ago #
I should check... because dreamhost used to have latest versions on almost everything
Most hosts give you the option which version to use.
mariano
Member
Posted 3 years ago #
I just reverted that file and everithing is great but i dont like to have this kind of "werid" install :S
patrickd88
Member
Posted 3 years ago #
I've got the same problem on build 9817. Any resolution?
patrickd88
Member
Posted 3 years ago #
This issue will be fixed in the next nightly build, according to Ryan Boren. I guess somebody can mark it resolved?
mariano
Member
Posted 3 years ago #
Hey Patrick... many thanks, As soon as i update and find it resolved will close the thread :)
mariano
Member
Posted 3 years ago #