Skip to:
Content
Pages
Categories
Search
Top
Bottom

PHP Fatal error on Deep Integration


  • mspecht
    Participant

    @mspecht

    I have just completed a brand new install of R2014, although the issue happens with A1.6 as well. The site works fine with with both database and cookie WordPress integration (WPMU 2.7).

    When I add require_once( dirname(__FILE__) .’/../wp-blog-header.php’ ); to my bb-config.php I get the following error:

    PHP Fatal error: Call to a member function hide_errors() on a non-object in /home/site/public/wp-includes/functions.php on line 345, referer: http://mydomain.com/forums/

    Line 345 is $wpdb->hide_errors(); within function get_option

    Obviously my BB install has not fully loaded up my WP environment. I have tried all sorts of ways to get this to work without any luck.

    I even tried to build my bbPress templates by reproducing the WP functions I need but found that meant I need to re-write a huge portion WP which seems silly and a huge waste of time. Although the 8 hours I have spent trying to solve this might have built a fair bit :-).

    Any tips on how to sort this out?

You must be logged in to reply to this topic.