Current User: Guest
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Fatal error: Only variables can be passed by reference in /home/content

No Status Selected
No Tags
UserPost

7:57 am
November 20, 2009


smellycat3

New Member

posts 1

 
1

I have installed your Techozoic template on smellycatproducitons.com/blog. The template is great, but whenever I try to publish a post, the template goes haywire, my post disappears, and I get the following error message in the sidebar:

Fatal error: Only variables can be passed by reference in /home/content/s/m/e/smellycat/html/blog/wp-content/themes/techozoic-fluid/functions.php on line 25

I am using Firefox for a browser. Any suggestions?

4:33 pm
November 20, 2009


Jeremy Clark

Admin

posts 484

 
2

Are you using PHP 5.0.5 there is a bug specific to that version but it doesn't exist in 5.0.4 or 5.0.6 +. If you can upgrade or downgrade php versions and try it again.

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

3:12 am
January 18, 2010


Jenny

Guest

 
3

I'd like to use this theme but I do not have the option to change my php version. Do you have another solution? Thanks

3:45 am
January 18, 2010


Jeremy Clark

Admin

posts 484

 
4

After quite a bit of digging I think I've found the soultion. I've made the change in the upcoming release of 1.8 of Techozoic, but until then you can make the changes yourself in the functions.php file look for this block of code.

add_filter('get_comments_number', 'comment_count', 0);
function comment_count( $count ) {
global $id;
$comments_by_type = &separate_comments(get_comments('post_id=' . $id));
return count($comments_by_type['comment']);
}

You need to replace it with this block.

add_filter('get_comments_number', 'comment_count', 0);
function comment_count( $count ) {
global $id;
$get_comments= get_comments('post_id=' . $id);
$comments_by_type = &separate_comments($get_comments);
return count($comments_by_type['comment']);
}

I hope this helps. Please if you wouldn't mind letting me know for sure if it solves the problem, Thanks.

Like Techozoic?
Rate it here or donate securely with PayPal to support my further development of Techozoic.

No Tags

Reply to Topic:
Fatal error: Only variables can be passed by reference in /home/content

Please include the version number of theme that your asking about. As well as a link to the website where the problem is happening if applicable. Thank you.

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
8 + 2
   


No Status Selected


About the Jeremy Clark – TechNet.com Forum

Forum Timezone: America/New_York

Most Users Ever Online: 66

Currently Online:
17 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 3
Topics: 359
Posts: 1268

Membership:

There are 307 Members
There have been 120 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

BartC – 107
demoondoggie – 23
Heather – 21
SarahM – 15
mpromp2 – 15
Monica – 15

Recent New Members: livewise, mpromp2, kevin, cbegg50, kismetconsulting, AdminKim