Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bp_setup_current_user'

Viewing 25 results - 1 through 25 (of 41 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
    Participant

    [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
    Participant

    @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
    Participant
    #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

    #253328
    RGB Lab
    Participant

    Hi Henry,

    Here is screenshot from Dashboard: http://screencast.com/t/CWRf167CAT

    Furthermore, I’ve reported this to you guys as well as to dev team of Rev Slider: https://buddypress.org/support/topic/bp_setup_current_user-and-slider-revolution/ Just hoping new versions of plugins will be compatible among eachother.

    Thanks.

    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
    Participant

    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

    #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!

    #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
    #246894
    danbp
    Participant

    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/

    #245434
    shanebp
    Moderator

    Asked and answered many times.

    If you’ve turned off all plugins and are using a WP like 2015, you should not see the warning.
    Then use your theme.
    Then start turning on plugins, one at a time.

    #245370
    shanebp
    Moderator

    1st issue: a plugin is calling bp_setup_current_user too soon – using a hook that fires before BP is ready. This can be tricky to track down.

    2nd issue: All the links look correct. It’s probably an issue in your custom theme. To confirm, try switching to a WP theme like 2015.

    mycru.io
    Participant

    @djsteveb

    – I disabled buddypress-social-icons & mycred
    But it is still not working. Debug Log still shows this:
    (happening on a desktop computer). I checked: the media that was attached ends up in the media library, but why is it not showing in the activity feed ?

    [03-Aug-2015 21:40:49 UTC] PHP Notice: bp_core_get_notifications_for_user is deprecated since version 1.9! Use bp_notifications_get_notifications_for_user() instead. in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3391
    [03-Aug-2015 21:40:50 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 /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3560
    [03-Aug-2015 21:40:51 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 /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3560

    mycru.io
    Participant

    can someone please help me and explain me what this means:

    [03-Aug-2015 19:47:05 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 /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3560

    [03-Aug-2015 19:47:06 UTC] PHP Notice: bp_core_get_notifications_for_user is deprecated since version 1.9! Use bp_notifications_get_notifications_for_user() instead. in /homepages/26/d553229553/htdocs/clickandbuilds/kawaii/wp-includes/functions.php on line 3391

    #239577
    danbp
    Participant

    Don’t know what you’re doing. The link doesn’t help.
    Or you publish your work as asked previously, or you ask on oauth plugin support or on the service support you try to connect… That’s not a BP issue

    Aside you have some errors on city4run.co

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

    Notice: Undefined index: WPOA wp-content/plugins/wp-oauth/wp-oauth.php on line 306

    You incorrectly use index.php there. Make your base install (wp/bp) work correctly first.

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