Forum Replies Created
-
In reply to: Creating default object from empty value
Yeah ! Well done Lynq !
I added
add_theme_support( 'bbpress' );
a the end of my theme functions file and I don’t have the warning anymore.Now I hope bbPress plugin works correctly.
Thank you
PS: I can’t close this topic because I didn’t start it…
In reply to: Creating default object from empty valueHi, thanks for your responses.
@Lynq : on line 357 I have :
356: if ( ‘bbPress’ == get_class( $bbp ) ) {
357: $bbp->theme_compat->theme = new BBP_Twenty_Ten();
358: }
I didn’t understand what it does exactly.
@Aadhaar Card : I have tested about twenty theme, for all I have the first error : Warning: Creating default object from empty value in /homez.51/nexeo/www/javanex/wp-content/plugins/bbpress/bbp-includes/bbp-core-compatibility.php on line 84
The second error occur only when I use the “bbPress (Twenty Ten)”.
On line 84 I have : $bbp->theme_compat->theme = $theme;
Maybe the add_theme_support( ‘bbpress’ ); is missing anywhere… But I don’t know where…
In reply to: Creating default object from empty valueHi, I’ve got the same problem :
Warning: Creating default object from empty value in /homez.51/nexeo/www/javanex/wp-content/plugins/bbpress/bbp-includes/bbp-core-compatibility.php on line 84
My wordpress has 3.4.1–fr_FR version and I installed bbPress on version 2.0.3 with the extension manager. My theme is actually BlogoLife.
In addition, when I move to “bbPress (Twenty Ten)” theme, and only for this one, the warning change :
Warning: Creating default object from empty value in /homez.51/nexeo/www/javanex/wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php on line 357
Does anyone has an idea on this ?