Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bp_setup_current_user was called incorrectly'

Viewing 8 results - 51 through 58 (of 58 total)
  • Author
    Search Results
  • cyndimarie
    Participant

    I am trying to fix my user activation page (see this forum post). Here are the errors on the site in debug mode:

    Error shown throughout site:

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245

    Errors shown on Activation page (after user registers they are sent an email with an activation link, they click on it and are sent to this page. The page should have content, but for some reason it is completely blank):

    Notice: update_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_update_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245

    Notice: get_user_meta( $user_id, ‘last_activity’ ) was called incorrectly. User last_activity data is no longer stored in usermeta. Use bp_get_user_last_activity() instead. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/vhosts/thesitename.com/www/wp-includes/functions.php on line 3245

    Fatal error: Call to undefined function bp_xprofile_create_field_type() in /var/www/vhosts/thesitename.com/www/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 560

    Any help would be appreciated 🙂

    My debug.log is showing thousands of entries, all the same:

    bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in .../html/wp-includes/functions.php on line 3049 and also starting with bbp_setup_current_user was called incorrectly. Always together, and repeated thousands of times.

    Before I begin the arduous process of going through the usual plugin and theme troubleshooting, has anyone else come across this and found a fix?

    Cheers

    #173754
    isi2008
    Participant

    Hi all,

    I have a little problem with my WP and BP installation.
    I can login to WP but I cant login to buddypress (default theme)
    In debug mode I have this errors:

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home/staff/ks/wpfant/public_html/wordpress/wp-includes/functions.php on line 3060

    I have BP 1.8.1 and WP 3.7.1

    Can you hepl me?

    Thanks a lot.

    #167418
    chriscourselle
    Participant

    On my production site i am running 1.7.2 it is conflicting with other plugin so i ran a debug and i am get:
    [02-Jul-2013 14:02:06 UTC] PHP Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in C:\xampp\htdocs\1\wp-includes\functions.php on line 2986

    How can i fix this? I am also get the same with the new beta 1.8.

    lucop1
    Participant

    It was a bbPress error. Now fixed with the 2.4 version!

    So the topic status is SOLVED!

    Thank you Shane!!

    shanebp
    Moderator

    Courtesy of boone:

    Use `var_dump(debug_backtrace());` to see how things were loaded.
    Then comb thru the dump to see which plugin is generating the notice.

    Renato Alves
    Participant

    Same here! 🙁

    lucop1
    Participant

    Hi,

    after upgrading from 1.6.5 to 1.7 I get this error constantly on each page and widget
    also in the wp-admin area..

    `Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /var/www/vhosts/xxxxxx.it/xxxxxx.it/wp-includes/functions.php on line 2960`

    how can i fix it?

Viewing 8 results - 51 through 58 (of 58 total)
Skip to toolbar