Sage Theme incompatibility with bbPress, BuddyPress, BuddyBoss causes infinite loop

Sage theme does not seem to be compatible with bbPress, BuddyPress and BuddyBoss. Those plugins cause an infinite loop when trying to access post types they define in the plugins. It’s one thing, that it is not compatible. But I think it should not cause an infinite loop. I replaced the code in sage index.php with:

    <div id="app">
        $view = app('sage.view');
        if (str_contains($view, "index.php")) {
          throw new Exception('sage.view could not be determinded');
        else {
          echo view($view, app(''))->render(); 

app('sage.view') returns link to index.php, and this causes an infinite loop if not catched.

You can replace the throw new Exception(...) with

echo view("page")->render();

To show something. bbPress worked like that, but was completely unstyled.

I decided against those three plugins, because it seemed to be too much work to implement them when using sage. The alternatives I choosed is:

Forum: wpForo Forum – WordPress plugin |

Those plugins seem to be compatible and more lightweight than BuddyPress/BuddyBoss. And they do what I want.

FYI, there is a community package for adding bbPress support to Sage 10:

There’s also this topic that describes how to get BuddyPress working:

1 Like