Re: WordPress Nightly Breaks Buddypress
I haven’t played with 3.2 but in looking at the line 144 – and reading the code notes – the parent::WPDB is the issue..
` function BPDB( $dbuser, $dbpassword, $dbname, $dbhost ) {
parent::WPDB( $dbuser, $dbpassword, $dbname, $dbhost );
$args = func_get_args();
$args = call_user_func_array( array( &$this, ‘_init’ ), $args );
if ( $args )
$this->db_servers = $args;
}`
Have you tried to globalize that function?
https://codex.wordpress.org/Function_Reference/wpdb_Class
In other words, add `global $wpdb;`