Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error with "do_shortcode" and "have_posts"

  • I’m having a problem with my 2.1 themeing since updating. In my custom archive-forum.php a call to <?php echo do_shortcode(‘[bbp-topic-index]‘);?> Is returning the error Fatal error: Call to undefined method stdClass::have_posts() in /wp-content/plugins/bbpress/bbp-includes/bbp-forum-template.php on line 109 .

    Any idea what this could be?

Viewing 1 replies (of 1 total)
  • I have just tried the same by adding the below to a template and is working perfectly for me.

    Code:
    <?php echo do_shortcode(‘[bbp-topic-index]‘);?>

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar