Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: No output from the loop on BP1.1 admin blog


stwc
Participant

@stwc

More information in hopes that someone will address this. It is quite clearly a bug somewhere along the line.

Looking at page.php in bp-sn-parent, the loop is simply not running, or not finding any posts.

Throwing in a piece of text before the loop, and that text appears on the page (individual post to the admin blog), fixing the layout, although the post content itself is not displayed.

<div class="page" id="blog-page">
<p>THIS IS SOME STATIC DEBUG TEXT</p>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

On the other hand, throw something in after the loop begins, and it gets swallowed like a black hole along with any post content. This

<div class="page" id="blog-page">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<p>THIS IS SOME STATIC DEBUG TEXT</p>

displays nothing.

The really weird thing is that the main page of the blog lists the posts just fine. It’s only when looking at an individual post that it fails.

I’m really trying to be helpful with this bug reporting here: any ideas from anyone?

Come to think of it, I’m a little confused as to why it’s page.php that is running at all in this case, but it absolutely is.

Skip to toolbar