Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bp_setup_current_user was called incorrectly'

Viewing 25 results - 1 through 25 (of 58 total)
  • Author
    Search Results
  • GaryLeGrill
    Participant

    Hi
    I just installed wordpress yaost seo on my website and I got this error message.
    The error disapear whit I install buddypress.

    Could you please help pe to fix it?

    Thanks

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bp_admin’ not found or invalid function name in /homepages/4/s654646546/htdocs/mywebsite/wp-includes/plugin.php on line 524

    Notice: bp_setup_current_user was called incorrectly. L’utilisateur actuel est en cours d’initialisation sans utiliser $wp->init() === Trace: #6 /homepages/4/s654646546/htdocs/mywebsite/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(31): Yoast_Notification_Center->retrieve_notifications_from_storage() #7 /homepages/4/s654646546/htdocs/mywebsite/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(49): Yoast_Notification_Center->__construct() #8 /homepages/4/s654646546/htdocs/mywebsite/wp-content/plugins/wordpress-seo/wp-seo-main.php(399): Yoast_Notification_Center::get() #9 /homepages/4/s654646546/htdocs/mywebsite/wp-includes/plugin.php(524): load_yoast_notifications(”) #10 /homepages/4/s654646546/htdocs/mywebsite/wp-settings.php(295): do_action(‘plugins_loaded’) #11 /homepages/4/s654646546/htdocs/mywebsite/wp-config.php(100): require_once(‘/homepages/4/d1…’) #12 /homepages/4/s654646546/htdocs/mywebsite/wp-load.php(39): require_once(‘/homepages/4/d in /homepages/4/s654646546/htdocs/mywebsite/wp-includes/functions.php on line 3996s654646546

    #257191
    themakeupchair
    Participant

    Hi
    The notice below pops up when I activate BuddyPress. The theme creators recommend installing BuddyPress.

    Wordpress: 4.5.3
    PHP version: 5.6
    BuddyPress version: 2.6.1.1
    Theme: Rehab child theme – Revendor
    Plugins: ManagerWP-worker. I have disabled all other plugins but still get the same message on activation.

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). === Trace: #6 /home/themakeu/public_html/dv/wp-content/themes/rehub/functions/user_review_functions.php(82): is_user_logged_in() #7 /home/themakeu/public_html/dv/wp-content/themes/rehub/functions.php(811): include(‘/home/themakeu/…’) #8 /home/themakeu/public_html/dv/wp-settings.php(369): include(‘/home/themakeu/…’) #9 /home/themakeu/public_html/dv/wp-config.php(89): require_once(‘/home/themakeu/…’) #10 /home/themakeu/public_html/dv/wp-load.php(37): require_once(‘/home/themakeu/…’) #11 /home/themakeu/public_html/dv/wp-admin/admin.php(31): require_once(‘/home/themakeu/…’) #12 /home/themakeu/public_html/dv/wp-admin/options-permalink.php(10): require_once(‘/home/themakeu/…’) #13 {main} === Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home/themakeu/public_html/dv/wp-includes/functions.php on line 3897

    Warning: Cannot modify header information – headers already sent by (output started at /home/themakeu/public_html/dv/wp-includes/functions.php:3897) in /home/themakeu/public_html/dv/wp-includes/pluggable.php on line 1167

    Thanks for your help.

    #256713
    intothemythica
    Participant

    this is what I got:

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). === Trace: #6 /nas/content/live/intothemythica/wp-content/plugins/revslider/includes/tinybox.class.php(49): is_user_logged_in() #7 [internal function]: RevSliderTinyBox::visual_composer_include(”) #8 /nas/content/live/intothemythica/wp-includes/plugin.php(525): call_user_func_array(Array, Array) #9 /nas/content/live/intothemythica/wp-settings.php(277): do_action(‘plugins_loaded’) #10 /nas/content/live/intothemythica/wp-config.php(154): require_once(‘/nas/content/li…’) #11 /nas/content/live/intothemythica/wp-load.php(37): require_once(‘/nas/content/li…’) #12 /nas/content/live/intothemythica/wp-blog-header.php(13): require_once(‘/nas/content/li…’) #13 /nas/content/live/intothemythica/index.php(17): require(‘/nas/content/li…’) #14 {main} === Please see Debugging in WordPress for more information. (This message wa in /nas/content/live/intothemythica/wp-includes/functions.php on line 3897

    Notice: Constant BP_AVATAR_THUMB_WIDTH already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 26

    Notice: Constant BP_AVATAR_THUMB_HEIGHT already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 27

    Notice: Constant BP_AVATAR_FULL_WIDTH already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 28

    Notice: Constant BP_AVATAR_FULL_HEIGHT already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 29

    Notice: The called constructor method for WP_Widget in WP_Widget_Moon_Phases is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/intothemythica/wp-includes/functions.php on line 3718

    #256425

    In reply to: Errors after update

    danbp
    Moderator

    [MOD] Topic moved to a more appropriate forum.

    The following plugins/widget are generating these error messages.

    bp-edit-group-slug

    BP_Toplevel_Groups_Widget

    BP_Group_Navigator_Widget

    bp-group-email

    bp-group-hierarchy

    You have to contact their authors via plugin support on WP repo.

    and on your side:

    The first step to getting rid of those Notices is identifying the source, so:
    – switch momentarily to a WP theme like 2016 and see if any persist
    – turn off plugins one at a time and see if any persist

    About the bbPress notice (bbp_setup_current_user was called incorrectly), read here:
    https://buddypress.trac.wordpress.org/changeset/10709/

    bbp_setup_current_user was called incorrectly

    #256393
    logicsystemsllc
    Participant

    Hello,

    BP 2.6.1.1

    I found some errors,

    Strict Standards: Declaration of BP_Groups_Edit_Slug::edit_screen() should be compatible with BP_Group_Extension::edit_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Strict Standards: Declaration of BP_Groups_Edit_Slug::edit_screen_save() should be compatible with BP_Group_Extension::edit_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Strict Standards: Declaration of BP_Groups_Edit_Slug::create_screen() should be compatible with BP_Group_Extension::create_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Strict Standards: Declaration of BP_Groups_Edit_Slug::create_screen_save() should be compatible with BP_Group_Extension::create_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-edit-group-slug/bp-edit-group-slug.php on line 27

    Notice: bbp_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 2.3.) in /nas/content/live/clcshare/wp-includes/functions.php on line 3897

    Notice: The called constructor method for WP_Widget in BP_Toplevel_Groups_Widget is deprecated since version 4.3.0! Use __construct() instead. in /nas/content/live/clcshare/wp-includes/functions.php on line 3718

    Notice: The called constructor method for WP_Widget in BP_Group_Navigator_Widget is deprecated since version 4.3.0! Use __construct() instead. in /nas/content/live/clcshare/wp-includes/functions.php on line 3718

    Strict Standards: Declaration of BP_Groupemail_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::edit_screen() should be compatible with BP_Group_Extension::edit_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::edit_screen_save() should be compatible with BP_Group_Extension::edit_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::create_screen() should be compatible with BP_Group_Extension::create_screen($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Declaration of BP_Groupemail_Extension::create_screen_save() should be compatible with BP_Group_Extension::create_screen_save($group_id = NULL) in /nas/content/live/clcshare/wp-content/plugins/bp-group-email/includes/bp-group-email.php on line 193

    Strict Standards: Non-static method BP_Groups_Hierarchy::get_by_parent() should not be called statically in /nas/content/live/clcshare/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-functions.php on line 35

    danbp
    Moderator

    @sharmavishal,

    FYI, the bbp_setup_current_user notice is explained on bbPress codex.

    sharmavishal
    Participant

    if it helps following non bp errors with rc1

    Notice: bbp_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 2.3.) in wp-includes/functions.php on line 3897

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). === Trace: #6 wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(421): get_current_user_id() #7 wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(31): Yoast_Notification_Center->retrieve_notifications_from_storage() #8 wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(49): Yoast_Notification_Center->__construct() #9 wp-content/plugins/wordpress-seo/wp-seo-main.php(373): Yoast_Notification_Center::get() #10 [internal function]: load_yoast_notifications(”) #11 wp-includes/plugin.php(525): call_user_func_array(‘load_yoast_noti…’, Array) #12 wp-settings.php(277): do_action(‘plugins_loaded’) #13 /opt/www/hobbysocialnetwork.c in wp-includes/functions.php on line 3897

    even with yoast seo disabled the site doesnt come up

    #253607

    In reply to: Error on installation

    danbp
    Moderator
    #253590
    dredre3000
    Participant

    Hi I’m trying to run buddy press on WP version 4.5 2 but when I install I get this error message below. The theme creators of the theme I’m using say to contact you as its not on their end. Please let me know if this is a common issue or direct me to a post where this has been resolved. Thank you…message below:

    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.)

    #253578
    kathrynbritnell
    Participant

    When I received these errors & deactivated Buddypress they went away. I can’t figure out how to fix.

    Using Buddypress 2.5.2
    Wordpress 4.5.2
    Divi Theme 2.6

    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/teagal5/public_html/wp-includes/functions.php on line 3897

    Warning: Cannot modify header information – headers already sent by (output started at /home/teagal5/public_html/wp-includes/functions.php:3897) in /home/teagal5/public_html/wp-includes/pluggable.php on line 1171

    #253241
    RGB Lab
    Participant

    Hi guys,

    I’m reporting one issue involving following software versions:

    WP 4.5.2
    TwentySixteen 1.2
    BuddyPress 2.5.2
    Slider Revolution 5.2.5.1

    Basically, basic WP setup plus two plugins. The thing is, when BuddyPress and Slider Revolution are both activated, error message is as follows:

    ( ! ) 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 D:\htdocs\wp-includes\functions.php on line 3897

    Thanks in advance for any assistance.

    bloggingandwb
    Participant

    I use BuddyPress plugin. Today I saw this message.

    Debug Error “bp_setup_current_user was called incorrectly”. The current user is being initialized without using $wp->init().

    This error removes when I deactivate Yoast.

    Is it a Yoast bug or BuddyPress bug? How to solve it?

    #252760
    Maksym
    Participant

    Hi!
    We’ve found a bug and we’d like to notify you about it.
    Slider Revolution 5.2.5 + BuddyPress 2.5.2 + bbPress 2.5.8 shows next notices:

    Notice: bbp_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 2.3.) in wp-includes\functions.php on line 3901

    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 wp-includes\functions.php on line 3901

    Best regards,
    Maksym

    #250684
    danbp
    Moderator

    Arrf ! 🙂 [re edit after emoji where stripped]
    Damned! The only notice with it’s own codex page. LOL

    Thank you @shanebp for sharing this solution.

    #250629
    sharmavishal
    Participant

    @djpaul thanks..yes deactivated those plugins..even then it was an issue..i downloaded and uploaded 2.5 version via FTP…then i reverted back to older BP version and did a auto update via the backend and it started working…minus the plugins which were creating an issue…..now only the follow debug logs:

    Notice: bbp_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 2.3.) in /opt/www/site.com/wp-includes/functions.php on line 3792

    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 /opt/www/site.com/wp-includes/functions.php on line 3792

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /opt/www/site.com/wp-includes/functions.php on line 3624

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_admin_bar_my_account_xprofile_menu’ not found or invalid function name in /opt/www/site.com/wp-includes/plugin.php on line 601

    #250603
    sharmavishal
    Participant

    updated to stable release form wordpress.org..still the site crashes…plugins clashing were deactivated.. Following from debug logs:

    BBpress:

    bbp_setup_current_user was called incorrectly
    Cannot redeclare bbp_get_component_name()

    Others:

    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 /opt/www/site.com/wp-includes/functions.php on line 3792

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /opt/www/site.com/wp-includes/functions.php on line 3624

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /opt/www/site.com/wp-includes/functions.php on line 3624

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /opt/www/site.com/wp-includes/functions.php on line 3624

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /opt/www/site.com/wp-includes/functions.php on line 3624

    Fatal error: Call to undefined function bp_is_user_inactive() in /opt/www/site.com/wp-content/plugins/buddypress/bp-core/bp-core-caps.php on line 362

    #250229
    mrjarbenne
    Participant

    I’m seeing this notice in the logs after updating my development environment to to 2.5 RC1. Just thought I would share it here. I’m still triaging the cause.

    [24-Feb-2016 03:32:34 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 /…../wordpress/wp-includes/functions.php on line 3792

    #249511
    dennition
    Participant

    I get this error with wp debug

    Translated in english it means:

    bp_setup_udser was called up incorrectly. The current user is initialized without using $wp->INI().
    
    Notice: bp_setup_current_user wurde fehlerhaft aufgerufen. Der aktuelle Benutzer wird ohne Verwendung von $wp->init() initialisiert. Weitere Informationen: Debugging in WordPress (en) (Diese Meldung wurde in Version 1.7 hinzugefügt.) in .../wp-includes/functions.php on line 3792 
    
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 30720 bytes) 
    in .../wp-content/plugins/js_composer/include/classes/editors/class-vc-edit-form-fields.php on line 276
    

    Why i have trouble with my user name and how can i fix it?

    Thanks!

    #248643
    Paul-tCGs
    Participant

    Hey folks,

    Still trying to track down a problem with the activation of BuddyPress on our site. In the debug.log which was suggested I turn on and review, have lots of these..

    [29-Dec-2015 20:12:48 UTC] PHP Notice: bbp_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 2.3.) in /home/content/p3pnexwpnas04_data03/90/2440390/html/wp-includes/functions.php on line 3787

    and some of these..

    [29-Dec-2015 20:12:48 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/content/p3pnexwpnas04_data03/90/2440390/html/wp-includes/functions.php on line 3619

    and these too.

    [29-Dec-2015 20:12:49 UTC] PHP Notice: Trying to get property of non-object in /home/content/p3pnexwpnas04_data03/90/2440390/html/wp-content/plugins/jetpack/modules/gravatar-hovercards.php on line 238

    ………

    I guess the bottom line question, is there a way to find older versions of plugins of various sorts to go backwards in time on them?

    Or are we regularly tweaking the php files of plugins?

    If anyone has any ideas for fixes, we’ll I’d appreciate any minutes you can spare.

    Trudging along,
    Paul

    polykrom
    Participant

    Hi all !

    I’ve just updated my WP installation to 4.4.1 and now, when i try to upload a file to media liobrary, i get a An error occurred in the upload. Please try again later.

    I’ve monitored the async-upload.php call and i get the following error :

    bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

    Is it an issue till 4.4.1 or have i miss something ?

    thanks a lot !

    François

    #248123
    jscmal
    Participant

    About the WordPress Debug, the log track always these errors:

    [27-Dec-2015 03:30:31 UTC] PHP Notice:  bp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 1.7.) in /home/xxxxx/wp-includes/functions.php on line 3787
    [27-Dec-2015 03:30:31 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/xxxxx/wp-includes/functions.php on line 3619
    [27-Dec-2015 03:30:31 UTC] PHP Notice:  bp_core_get_notifications_for_user is <strong>deprecated</strong> since version 1.9! Use bp_notifications_get_notifications_for_user() instead. in /home/xxxxx/wp-includes/functions.php on line 3568

    What can I do to manage this situation?

    Please, help me!

    #247341
    Bas van der Togt
    Participant

    This is everything what is written to the log after i tried to upload an image:

    [02-Dec-2015 17:45:42 UTC] PHP Notice:  bp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 1.7.) in /home/***/domains/***/public_html/wp-includes/functions.php on line 3622
    [02-Dec-2015 17:45:43 UTC] PHP Fatal error:  Cannot use object of type WP_Error as array in /home/***/domains/***/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 874
    #247146
    angelleye
    Participant

    I just now installed the plugin fresh and I was presented with an error about extra output. I also wound up with a message that members weren’t associated correctly and it gave me a “Repair” button to click. When I clicked that, though, I ended up with this:

    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/kctt/public_html/wp-includes/functions.php on line 3622

    Any info on how to fix this would be greatly appreciated.

    #246894
    danbp
    Moderator

    Hi,

    no idea what happen to your install, but read here some advice:
    https://buddypress.org/support/topic/debug-error-bp_setup_current_user-was-called-incorrectly/

    #246881
    Julian M
    Participant

    Hello. Im using default wp theme (Twenty Fifteen) and default BuddyPress plugin.

    I got a warning:

    "Notice: bp_setup_current_user was called incorrectly. The current user is being initialised without using $wp->init().
    Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in public_html\wp-includes\functions.php on line 3622"

    Yep. I have “WP_DEBUG” constant as TRUE (it’s my dev environment).
    What is wrong here? Is it bug?

    The warning disappears when i remove the 36 line from the file “bp-core-actions.php”
    add_action( 'set_current_user', 'bp_setup_current_user', 10 );
    wp-content/plugins/buddypress/bp-core/bp-core-actions.php:36

    It seems, that plugin’s authors are using some dirty code.

    PS I cannot add a bug report on the page https://buddypress.trac.wordpress.org/. I click “login” link, but the page reloaded without changes. This plugin make me sad unfortunatly.

Viewing 25 results - 1 through 25 (of 58 total)
Skip to toolbar