WP_DEBUG PHP notice because of bbPress
-
Using PHP 5.4.20 or 5.3.27 with bbPress installed this notice is spit out if wp_debug is on – and of course only if BackWPup is active:
PHP Notice: bbp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.3.) in /wp-includes/functions.php on line 3041
I “think” this github chitchat for an e-commerce plugin is about same issue, https://github.com/wp-e-commerce/WP-e-Commerce/issues/497 scroll down to see same error msg. So apparently bbPress is picky about which hook is used – or something. They seem to fix their stuff by changing
wp
toinit
.I have not noticed any issues with features, functionality like they talk about but still nice to get notice removed if possible.
I have also not checked beta version of BackWPup, might be fixed already.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP_DEBUG PHP notice because of bbPress’ is closed to new replies.