<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: Error,</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: Error,</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 01:20:47 +0000</pubDate>

<item>
<title>mg12 on "Error,"</title>
<link>http://wordpress.org/support/topic/226987#post-944696</link>
<pubDate>Sun, 04 Jan 2009 16:04:27 +0000</pubDate>
<dc:creator>mg12</dc:creator>
<guid isPermaLink="false">944696@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi, justinfm101&#60;br /&#62;
Thanks for your report.&#60;br /&#62;
The bug have fixed in the new versions.
&#60;/p&#62;</description>
</item>
<item>
<title>justinfm101 on "Error,"</title>
<link>http://wordpress.org/support/topic/226987#post-930438</link>
<pubDate>Fri, 19 Dec 2008 02:07:34 +0000</pubDate>
<dc:creator>justinfm101</dc:creator>
<guid isPermaLink="false">930438@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Maybe this only happens in 2.7, but I got an error using this theme to begin with. The error I got was on the blog and it said...&#60;/p&#62;
&#60;p&#62;Fatal error: Only variables can be passed by reference and then the url to the functions.php with line 412 referenced.&#60;/p&#62;
&#60;p&#62;I fixed it by replacing the code starting on line 408 that looks like this...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// comment count
	add_filter(&#38;#39;get_comments_number&#38;#39;, &#38;#39;comment_count&#38;#39;, 0);
	function comment_count($count) {
		global $id;
		$comments_by_type = &#38;#38;separate_comments(get_comments(&#38;#39;post_id=&#38;#39; . $id));
		return count($comments_by_type[&#38;#39;comment&#38;#39;]);
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// comment count
	add_filter(&#38;#39;get_comments_number&#38;#39;, &#38;#39;comment_count&#38;#39;, 0);
	function comment_count( $commentcount ) {
		global $id;
		$_commnets = get_comments(&#38;#39;post_id=&#38;#39; . $id);
		$comments_by_type = &#38;#38;separate_comments($_commnets);
		return count($comments_by_type[&#38;#39;comment&#38;#39;]);
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I pulled this code from one of the programmers other themes.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
