Search Results for 'bp_setup_current_user was called incorrectly'
-
AuthorSearch Results
-
July 17, 2016 at 3:30 pm #256713
In reply to: Trouble with BuddyPress on secondary blog
intothemythica
Participantthis 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 3718July 10, 2016 at 2:49 pm #256425In 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 persistAbout the bbPress notice (bbp_setup_current_user was called incorrectly), read here:
https://buddypress.trac.wordpress.org/changeset/10709/June 16, 2016 at 4:31 pm #254673danbp
ParticipantFYI, the bbp_setup_current_user notice is explained on bbPress codex.
June 16, 2016 at 4:06 pm #254664sharmavishal
Participantif 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
May 21, 2016 at 11:47 am #253607In reply to: Error on installation
danbp
ParticipantGive details please: php version, theme name, used plugins.
https://buddypress.org/support/topic/when-asking-for-support-2/
Related topics for similar issue:
https://buddypress.org/support/search/bp_setup_current_user+was+called+incorrectly/March 4, 2016 at 10:12 pm #250684In reply to: bp_email customize and bbpress notice
danbp
ParticipantArrf ! 🙂 [re edit after emoji where stripped]
Damned! The only notice with it’s own codex page. LOLThank you @shanebp for sharing this solution.
March 4, 2016 at 12:37 pm #250629In reply to: buddypress.2.5.0-rc Feeback
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 3624Warning: 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
March 4, 2016 at 5:25 am #250603In reply to: buddypress.2.5.0-rc Feeback
sharmavishal
Participantupdated 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 3624Notice: 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 3624Notice: 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 3624Notice: 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 3624Fatal 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
February 5, 2016 at 6:14 pm #249511In reply to: White Website with buddypress active Plugin
dennition
ParticipantI 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 276Why i have trouble with my user name and how can i fix it?
Thanks!
December 27, 2015 at 3:34 am #248123jscmal
ParticipantAbout 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 3568What can I do to manage this situation?
Please, help me!
December 2, 2015 at 5:47 pm #247341In reply to: Buddypress profile photo / cover image fails
Bas van der Togt
ParticipantThis 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 874November 18, 2015 at 5:25 pm #246894In reply to: Warning notice from the plugin file
danbp
ParticipantHi,
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/August 3, 2015 at 9:45 pm #242743mycru.io
Participant– 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 3560August 3, 2015 at 7:54 pm #242734mycru.io
Participantcan 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
May 23, 2015 at 3:12 pm #239577In reply to: Profile URL called from Outside
danbp
ParticipantDon’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 issueAside 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.
April 13, 2015 at 9:41 pm #237846In reply to: Warning of Buddypress
jookkoo
ParticipantHello.
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 3547
Please help
April 13, 2015 at 8:13 pm #237839Svend Rugaard
ParticipantI have now try a diffrent approach to make a clean install and use debug mode just to make sure also all the themes change i have make the last year wasnt make this error happen it give me these errors on member page with debug on :
Strict Standards: Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /home/www/area51.ps3geeks.dk/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php on line 28 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/www/area51.ps3geeks.dk/wp-includes/functions.php on line 3547 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/www/area51.ps3geeks.dk/wp-includes/functions.php on line 3547 Warning: Cannot modify header information - headers already sent by (output started at /home/www/area51.ps3geeks.dk/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php:28) in /home/www/area51.ps3geeks.dk/wp-includes/pluggable.php on line 1178Some of them even show as “Solved” on google search but obviosly they aint solved.
October 30, 2014 at 3:27 pm #227953In reply to: BP conflict with other plugins
kitchin
ParticipantMore fun with “bp_setup_current_user was called incorrectly.” I tracked it down to the plugin Buddypress Wall in our site. See: https://wordpress.org/support/topic/dashboard-warning-and-fix-bp_setup_current_user
October 22, 2014 at 8:38 am #222370In reply to: BP conflict with other plugins
danbp
Participanthi @gatera,
It’s only a PHP notice, and harmless in regard of a PHP Warning message. Apparently, your plugin is not completely compatible with BuddyPress or at least called to early or something like that.
You must debug your install.
https://codex.wordpress.org/Debugging_in_WordPressMore about bp_setup_current_user function
https://buddypress.org/support/topic/debug-error-bp_setup_current_user-was-called-incorrectly/?view=all#post-186116
https://buddypress.trac.wordpress.org/ticket/4830File ref: buddypress/bp-core/bp-core-dependency.php
Documented function: http://oik-plugins.eu/buddypress-a2z/oik_api/bp_setup_current_user/August 28, 2014 at 8:35 am #188623DarkPsy
ParticipantHello Dan,
I’m using it in the exact same way I was a week back when everything was working just as expected, suddenly it stopped working.
I also have this message being displayed
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 ~wordressdir~/wp-includes/functions.php on line 3245 Warning: Cannot modify header information - headers already sent by (output started at ~wordressdir~/wp-includes/functions.php:3245) in ~wordressdir~/wp-includes/pluggable.php on line 1121The bbPress plugin isn’t something I feel this is related to. Basically I’m baffled cos it was working a week back and now it’s not. everything is the same way. Even on a clean install it backfires.
Buddypress 2.0.2.
WP 3.9.2August 12, 2014 at 11:44 pm #186496milosnikolic
ParticipantWhen I turn on the debug mode in WP this is what shows up:
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 public_html/wp-includes/functions.php on line 3245
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 public_html/wp-includes/functions.php on line 3245
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.) in public_html/wp-includes/functions.php on line 3245
August 7, 2014 at 8:28 am #186079In reply to: [Resolved] Can't see member profile (Not found)
spikespiegel
Participanthey, look which errors I got:
Notice: Use of undefined constant PLUGIN_URL – assumed ‘PLUGIN_URL’ in /home/username/public_html/wp-content/plugins/envolve-chat/envolve-chat.php on line 69
Notice: Use of undefined constant PLUGIN_PATH – assumed ‘PLUGIN_PATH’ in /home/username/public_html/wp-content/plugins/envolve-chat/envolve-chat.php on line 70
Notice: Use of undefined constant adcopy_wp_enable_comment_reply_reload – assumed ‘adcopy_wp_enable_comment_reply_reload’ in /home/username/public_html/wp-content/plugins/solvemedia/solvemedia.comment.inc on line 25
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/username/public_html/wp-includes/functions.php on line 3245
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/username/public_html/wp-includes/functions.php on line 3245
Notice: Use of undefined constant BP_PORTFOLIO_ITEMS_TABLE – assumed ‘BP_PORTFOLIO_ITEMS_TABLE’ in /home/username/public_html/wp-content/plugins/buddypress-portfolio/includes/bp-portfolio-loader.php on line 74
Notice: Undefined variable: defaults in /home/username/public_html/wp-content/plugins/buddypress-portfolio/includes/bp-portfolio-classes.php on line 34
Notice: Undefined variable: defaults in /home/username/public_html/wp-content/plugins/buddypress-portfolio/includes/bp-portfolio-classes.php on line 157
Notice: Undefined variable: id in /home/username/public_html/wp-content/plugins/buddypress-portfolio/includes/bp-portfolio-classes.php on line 173
Notice: Undefined index: workflow in /home/username/public_html/wp-content/plugins/social-articles/includes/social-articles-functions.php on line 122
Notice: Undefined variable: sub_nav in /home/username/public_html/wp-content/plugins/social-articles/includes/social-articles-load.php on line 96
Notice: Undefined index: general_display_media in /home/username/public_html/wp-content/plugins/buddypress-media/app/main/RTMedia.php on line 904
July 24, 2014 at 5:05 am #185496ubiq00
Participant@mercime I’ve contacted the hosting company, and they’ll return in no time.
BTW, I happen to turn on debugging option in wp-config.php, and tried to go to my site.
Then, I’ve got this message on the top of home page.Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().
I guess this relates to the problem…But I don’t know where to look at and fix it.
What do you think?May 17, 2014 at 12:57 pm #183051In reply to: Need help identifying errors found in debug mode
shanebp
ModeratorAre you using a custom activation page?
>Notice: bp_setup_current_user was called incorrectly.
That can be a tricky one to solve. It means it was called too early in the load order.
>Fatal error: Call to undefined function bp_xprofile_create_field_type()
That means it was called before BP is loaded or is called on a non-BP page.
I suspect one of your plugins is causing this ( might be the theme ).
Try turning off your plugins one at a time.
The fact that it’s bp_xprofile_create_field_type() hints that it’s profile related.If that doesn’t identify the culprit, try switching themes.
Then you’ll have to contact the creator and submit a bug report.
Or hire somebody to fix it for you.April 15, 2013 at 8:54 am #161687lucop1
ParticipantIt was a bbPress error. Now fixed with the 2.4 version!
So the topic status is SOLVED!
Thank you Shane!!
-
AuthorSearch Results