[buddypress-trac] [BuddyPress Trac] #7086: PHP Notice in Customizer
buddypress-trac
noreply at wordpress.org
Wed May 25 08:55:28 UTC 2016
#7086: PHP Notice in Customizer
--------------------------+-----------------
Reporter: DJPaul | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.6
Component: API | Version:
Severity: normal | Keywords:
--------------------------+-----------------
When entering the email customiser, this appears in the preview pane. It
didn't use to, so it's a regression or a change in WordPress we need to
adapt for:
Notice: bp_setup_current_user was called <strong>incorrectly</strong>. The
current user is being initialized without using $wp->init().
===
Trace:
#6 /srv/www/buddypress.dev/src/wp-includes/class-wp-customize-
widgets.php(97): current_user_can('edit_theme_opti...')
#7 /srv/www/buddypress.dev/src/wp-includes/class-wp-customize-
manager.php(266):
WP_Customize_Widgets->__construct(Object(WP_Customize_Manager))
#8 /srv/www/buddypress.dev/src/wp-includes/theme.php(2060):
WP_Customize_Manager->__construct()
#9 [internal function]: _wp_customize_include('')
#10 /srv/www/buddypress.dev/src/wp-includes/plugin.php(525):
call_user_func_array('_wp_customize_i...', Array)
#11 /srv/www/buddypress.dev/src/wp-settings.php(277):
do_action('plugins_loaded')
#12 /srv/www/buddypress.dev/wp-config.php(89):
require_once('/srv/www/buddyp...')
#13 /srv/www/buddypress.dev/src/wp-load.php(42):
require_once('/srv/www/buddyp...')
#14 /srv/www/buddypress.dev/src/wp-blog-header.php(13):
require_once('/srv/www/buddyp...')
#15 /srv/www/buddypress.dev in /srv/www/buddypress.dev/src/wp-
includes/functions.php on line 3897
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7086>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list