Custom admin bar image vanished, can't update

Just noticed my dashboard admin bar has reset to the "W" WordPress icon.

When I go into Ultimate Branding, and Custom Admin bar, Custom Entry is set to Enabled: No.

If I change the settings and choose an image, when I press Save the page has reset all the settings to disabled again.

Must have happened with a recent update, any ideas?

  • Alexander

    Hi @xootom,

    It sounds like we might have an error occurring before the value is actually saved.

    Can you try enabling WP_DEBUG mode and debug logging? To do this, just go to wp-config.php include this:

    define('WP_DEBUG',true);
    define('WP_DEBUG_LOG',true);

    You might already have a line for WP_DEBUG, so just make sure it's set to true. This will create a log file under wp-content/debug.log with detailed information.

    If you'd like to avoid end users seeing error messages, you can include this as well:

    @ini_set('display_errors',0);
    define('WP_DEBUG_DISPLAY', false);

    This will prevent errors from being displayed, but you can still find them in the log file. For information on this, checkout this wpmu.org article.

    Let me know what errors if any you are getting!

  • Techtomic

    Hi,

    I turned on debugging but couldn't seem to get it to log to file, but below is what was output to the browser before the html started.

    I tried disabling various plugins but no help. When I turned other parts of Ultimate Branding off, I managed to get it to show my custom admin bar icon after pressing Save - but as soon as I navigated to another page it reset to the W icon.

    Not sure if this will help but...

    <b>Strict Standards</b>: Redefining already defined constructor for class Blog_Activity in <b>/usr/share/nginx/html/wp-content/plugins/blog-activity/blog-activity.php</b> on line <b>54</b>

    <b>Deprecated</b>: Assigning the return value of new by reference is deprecated in <b>/usr/share/nginx/html/wp-content/plugins/blog-activity/blog-activity.php</b> on line <b>323</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class blog_templates in <b>/usr/share/nginx/html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php</b> on line <b>49</b>

    <b>Strict Standards</b>: Only variables should be assigned by reference in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-loader.php</b> on line <b>602</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class WPMUDEV_Dashboard_Feeds in <b>/usr/share/nginx/html/wp-content/plugins/dashboard-feeds/dashboard-feeds.php</b> on line <b>41</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class WPMUDEV_Dashboard_Feed_Widget in <b>/usr/share/nginx/html/wp-content/plugins/dashboard-feeds/dashboard-feeds.php</b> on line <b>550</b>

    <b>Strict Standards</b>: Declaration of Walker_Live_Stream_Checklist::start_lvl() should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in <b>/usr/share/nginx/html/wp-content/plugins/live-stream-widget/live-stream.php</b> on line <b>677</b>

    <b>Strict Standards</b>: Declaration of Walker_Live_Stream_Checklist::end_lvl() should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in <b>/usr/share/nginx/html/wp-content/plugins/live-stream-widget/live-stream.php</b> on line <b>677</b>

    <b>Strict Standards</b>: Declaration of Walker_Live_Stream_Checklist::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in <b>/usr/share/nginx/html/wp-content/plugins/live-stream-widget/live-stream.php</b> on line <b>677</b>

    <b>Strict Standards</b>: Declaration of Walker_Live_Stream_Checklist::end_el() should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in <b>/usr/share/nginx/html/wp-content/plugins/live-stream-widget/live-stream.php</b> on line <b>677</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_PluginLoader in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/plugins-loader.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class Activity_Reports in <b>/usr/share/nginx/html/wp-content/plugins/reports/reports.php</b> on line <b>61</b>

    <b>Deprecated</b>: Assigning the return value of new by reference is deprecated in <b>/usr/share/nginx/html/wp-content/plugins/reports/reports.php</b> on line <b>495</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class User_Activity in <b>/usr/share/nginx/html/wp-content/plugins/user-activity/user-activity.php</b> on line <b>53</b>

    <b>Deprecated</b>: Assigning the return value of new by reference is deprecated in <b>/usr/share/nginx/html/wp-content/plugins/user-activity/user-activity.php</b> on line <b>448</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class UserReports in <b>/usr/share/nginx/html/wp-content/plugins/user-reports/user-reports.php</b> on line <b>75</b>

    <b>Strict Standards</b>: Declaration of User_Reports_Posts_List_Table::prepare_items() should be compatible with WP_List_Table::prepare_items() in <b>/usr/share/nginx/html/wp-content/plugins/user-reports/lib/class-user-reports-posts-list-table.php</b> on line <b>8</b>

    <b>Strict Standards</b>: Declaration of User_Reports_Comments_List_Table::prepare_items() should be compatible with WP_List_Table::prepare_items() in <b>/usr/share/nginx/html/wp-content/plugins/user-reports/lib/class-user-reports-comments-list-table.php</b> on line <b>670</b>

    <b>Notice</b>: Constant PLUGINDIR already defined in <b>/usr/share/nginx/html/wp-content/plugins/pricing-table/pricing-table.php</b> on line <b>22</b>

    <b>Strict Standards</b>: Only variables should be passed by reference in <b>/usr/share/nginx/html/wp-content/plugins/pricing-table/libs/class.plugin.php</b> on line <b>54</b>

    <b>Strict Standards</b>: Declaration of BP_Settings_Component::setup_globals() should be compatible with BP_Component::setup_globals($args = Array) in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php</b> on line <b>198</b>

    <b>Strict Standards</b>: Declaration of BP_Settings_Component::includes() should be compatible with BP_Component::includes($includes = Array) in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php</b> on line <b>198</b>

    <b>Strict Standards</b>: Declaration of BP_Settings_Component::setup_nav() should be compatible with BP_Component::setup_nav($main_nav = Array, $sub_nav = Array) in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php</b> on line <b>198</b>

    <b>Strict Standards</b>: Declaration of BP_Settings_Component::setup_admin_bar() should be compatible with BP_Component::setup_admin_bar($wp_admin_nav = Array) in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php</b> on line <b>198</b>

    <b>Strict Standards</b>: Declaration of BP_Group_Member_Query::get_include_ids() should be compatible with BP_User_Query::get_include_ids($include = Array) in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php</b> on line <b>1182</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class BP_Groups_Widget in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php</b> on line <b>26</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_Ads in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/ads.php</b> on line <b>13</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_ProWidget in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/badge-widget.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_BP in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/buddypress.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_BulkUpgrades in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/bulk-upgrades.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_MarketPress_Global in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/marketpress-filter.php</b> on line <b>13</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_PayToBlog in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/pay-to-blog.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_PostingQuota in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/posting-quota.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_Plugins in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/premium-plugins.php</b> on line <b>13</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_Support in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/premium-support.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_PremiumThemes in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/premium-themes.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_Quota in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/quota.php</b> on line <b>13</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_UnfilterHtml in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/unfiltered-html.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_Writing in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/write.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Module_XMLRPC in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/modules/xmlrpc.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Gateway_Manual in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-manual.php</b> on line <b>11</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Gateway_PayPalExpressPro in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-paypal-express-pro.php</b> on line <b>13</b>

    <b>Strict Standards</b>: Redefining already defined constructor for class ProSites_Gateway_Stripe in <b>/usr/share/nginx/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-stripe.php</b> on line <b>14</b>

    <b>Notice</b>: 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 <b>/usr/share/nginx/html/wp-includes/functions.php</b> on line <b>3060</b>

    <b>Strict Standards</b>: Declaration of kclass_megamenu_walker::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in <b>/usr/share/nginx/html/wp-content/themes/citylevel/admin/includes/kclass_megamenu_walker.php</b> on line <b>66</b>

    <b>Strict Standards</b>: Declaration of Walker_Nav_Menu_Dropdown::start_lvl() should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in <b>/usr/share/nginx/html/wp-content/themes/citylevel/admin/includes/walker_nav_menu_dropdown.php</b> on line <b>47</b>

    <b>Strict Standards</b>: Declaration of Walker_Nav_Menu_Dropdown::end_lvl() should be compatible with Walker::end_lvl(&$output, $depth = 0, $args = Array) in <b>/usr/share/nginx/html/wp-content/themes/citylevel/admin/includes/walker_nav_menu_dropdown.php</b> on line <b>47</b>

    <b>Strict Standards</b>: Declaration of Walker_Nav_Menu_Dropdown::start_el() should be compatible with Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in <b>/usr/share/nginx/html/wp-content/themes/citylevel/admin/includes/walker_nav_menu_dropdown.php</b> on line <b>47</b>

    <b>Strict Standards</b>: Declaration of Walker_Nav_Menu_Dropdown::end_el() should be compatible with Walker::end_el(&$output, $object, $depth = 0, $args = Array) in <b>/usr/share/nginx/html/wp-content/themes/citylevel/admin/includes/walker_nav_menu_dropdown.php</b> on line <b>47</b>

    <b>Strict Standards</b>: Non-static method BP_XProfile_ProfileData::get_value_byid() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php</b> on line <b>175</b>

    <b>Strict Standards</b>: Non-static method BP_Core_User::get_core_userdata() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-members/bp-members-functions.php</b> on line <b>161</b>

    <b>Strict Standards</b>: Non-static method BP_Blogs_Blog::total_blog_count_for_user() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-blogs/bp-blogs-functions.php</b> on line <b>596</b>

    <b>Strict Standards</b>: Non-static method BP_Groups_Member::total_group_count() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php</b> on line <b>513</b>

    <b>Strict Standards</b>: Non-static method BP_Messages_Thread::get_inbox_count() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php</b> on line <b>333</b>

    <b>Strict Standards</b>: mktime(): You should be using the time() function instead in <b>/usr/share/nginx/html/wp-content/themes/citylevel/inc/ratings.php</b> on line <b>210</b>

    <b>Strict Standards</b>: mktime(): You should be using the time() function instead in <b>/usr/share/nginx/html/wp-content/themes/citylevel/inc/ratings.php</b> on line <b>217</b>

    <b>Strict Standards</b>: Non-static method BP_Groups_Group::get() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php</b> on line <b>485</b>

    <b>Strict Standards</b>: Non-static method BP_Groups_Group::convert_orderby_to_order_by_term() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php</b> on line <b>430</b>

    <b>Strict Standards</b>: Non-static method BP_Groups_Group::get_group_extras() should not be called statically in <b>/usr/share/nginx/html/wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php</b> on line <b>508</b>

    <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/wp-content/plugins/user-reports/lib/class-user-reports-comments-list-table.php:670) in <b>/usr/share/nginx/html/wp-content/plugins/sitewide-privacy-options/sitewide-privacy-options.php</b> on line <b>560</b>

  • Alexander

    Hi @xootom,

    Can you try temporarily disabling the sitewide privacy plugin? Then let me know if you get any errors that are "warnings" or "fatal errors"

    Next, do you have any cacheing happening on this server? Maybe somehow it's keeping this setting from updating.

    Next, can you please test for a plugin and theme conflict? You can do this by switching to the default theme (TwentyThirteen) and deactivating all your plugins. After this, test the issue as see if anything is different. If it's working, try changing your theme back and testing again. If at this point it's broken, we know it's a theme conflict. If not, start reactivating your plugins and testing as you go along, once it stops working you'll be able to know which plugin is causing a conflict. Once a conflict is identified, we can look into a specific solution for it.

    Best regards,