Please post the function call as it appears in your template.
(Remember to replace “<” with “<”.)
Thread Starter
Anonymous
Same old thing, I know it’s in the b2 loop or else it wouldn’t know head or tail, i just put it there as is:
<?php next_post() ;?>
I tried to remove the semicolon before the >, no diff. I thought I could put it after the content of the blog, but the comments don’t display… basicaly a broken file.
I tried to find the culprit by looking through function next_post() in b2template.functions.php
when I remove the @ at line 660, become:
<snipp)
$nextpost = $wpdb->get_row(“
</snipp>
the error now shown:
Fatal error: Call to a member function on a non-object in /usr/home/guido/ public_html/x/b2-include/b2template.functions.php on line 660
Perhaps it’s because no $wpdb was declared nor initialized inside the function next_post()
Thread Starter
Anonymous
well, i guess that’s the problem… mike, matt, any help on this?
Thread Starter
Anonymous
stupid me… guido… would that be the problem, or the solution? and where do i put it?
Thread Starter
Anonymous
yahoo it works. thanks guido.
Fixed and commited to CVS
Thanks
Mike