• Resolved tzdk

    (@tzdk)


    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 to init.

    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.

    http://wordpress.org/plugins/backwpup/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tzdk

    (@tzdk)

    Hmm, bbPress dude try his luck on Trac http://core.trac.wordpress.org/ticket/24169 about this “too early” issue. About Theme Customizer but same thing. He believe it is a core issue, not related to bbPress. bbPress just checks! Example http://bbpress.org/forums/topic/bbpress-deprecated-calls/ – in other posts saying something like “waiting for core to fix” or similar. Someone tried to come up with a hack-around.

    Answer:

    But for the moment, status quo prevails.

    Thread Starter tzdk

    (@tzdk)

    Other posts being bbPress own Trac http://bbpress.trac.wordpress.org/ticket/2412

    Non-urgent. There’s a WordPress ticket that fixes this. Moving to future release until it’s fixed in WordPress core.

    yes it “fixes” a lot 😉 Not much encouragement to plugin devs. to “fix” if core see no need to. May be wrong to fix. Blah, blah – annoying it is.

    Plugin Author Daniel Hüsken

    (@danielhuesken)

    Hello thnaks for the message. I think i have fixed the messages. I will upload the fix in the next days to the beta on github.

    Thread Starter tzdk

    (@tzdk)

    Ohhh, nice. I will keep eye on beta, am on no. 2 now. I have not seen any issues coming from the bbPress notice btw., so can just stop looking! – but they build up like crazy and ruin already boring debug experience.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP_DEBUG PHP notice because of bbPress’ is closed to new replies.