Title: WP Customizer error
Last modified: January 7, 2017

---

# WP Customizer error

 *  [Daniel Kilburn](https://wordpress.org/support/users/danielmkilburn/)
 * (@danielmkilburn)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wp-customizer-error/)
 * Every time I load the customizer for my blog; emergencyactionplanning.com I get
   a debug notice.
 * It tells me to put the details here.
 * if(‘undefined’==typeof wpcom){wpcom={};}
    if(‘undefined’==typeof wpcom.events){
   wpcom.events=_.extend({},Backbone.Events);} (function($){var wpNotesArgs=window.
   wpNotesArgs||{},cacheBuster=wpNotesArgs.cacheBuster||(function(){var today=new
   Date();return today.getFullYear()+(‘0’+(1+today.getMonth())).slice(-2)+(‘0’+today.
   getDate()).slice(-2);})(),iframeUrl=wpNotesArgs.iframeUrl||’[https://widgets.wp.com/notes/&#8217](https://widgets.wp.com/notes/&#8217);,
   iframeAppend=wpNotesArgs.iframeAppend||”,iframeScroll=wpNotesArgs.iframeScroll
   ||”no”,wideScreen=wpNotesArgs.wide||false,iframePanelId,iframeFrameId;$(function(){
   if(($(‘#wpnt-notes-panel’).length==0&&$(‘#wpnt-notes-panel2’).length)&&(‘undefined’!
   =typeof wpNotesIsJetpackClientV2&&wpNotesIsJetpackClientV2)){iframeUrl=’[https://widgets.wp.com/notifications/&#8217](https://widgets.wp.com/notifications/&#8217);;
   iframeAppend=’2′;iframeScroll=’yes’;wideScreen=true;} iframePanelId=”wpnt-notes-
   panel”+iframeAppend;iframeFrameId=”wpnt-notes-iframe”+iframeAppend;new wpntView();});
   var wpntView=Backbone.View.extend({el:’#wp-admin-bar-notes’,hasUnseen:null,initialLoad:
   true,count:null,iframe:null,iframeWindow:null,messageQ:[],iframeSpinnerShown:
   false,isJetpack:false,linkAccountsURL:false,currentMasterbarActive:false,initialize:
   function(){var t=this;var matches=navigator.appVersion.match(/MSIE (\d+)/);if(
   matches&&parseInt(matches[1],10)<8){var $panel=t.$(‘#’+iframePanelId);var $menuItem
   =t.$(‘.ab-empty-item’);if(!$panel.length||!$menuItem.length){return;} var offset
   =t.$el.offset();t.$(‘.ab-item’).removeClass(‘ab-item’);t.$(‘#wpnt-notes-unread-
   count’).html(‘?’);$panel.html(‘ \ <div class=”wpnt-notes-panel-header”><p>Notifications
   are not supported in this browser!</p> </div> \  \ <p class=”wpnt-ie-note”> \
   Please [upgrade your browser](http://browsehappy.com) to keep using notifications.\
   </p>’).addClass(‘browse-happy’);t.$el.on(‘mouseenter’,function(e){clearTimeout(
   t.fadeOutTimeout);if($panel.is(‘:visible:animated’)){$panel.stop().css(‘opacity’,”);}
   $menuItem.css({‘background-color’:’#eee’});$panel.show();});t.$el.on(‘mouseleave’,
   function(){t.fadeOutTimeout=setTimeout(function(){clearTimeout(t.fadeOutTimeout);
   if($panel.is(‘:animated’)){return;} $panel.fadeOut(250,function(){$menuItem.css({‘
   background-color’:’transparent’});});},350);});return;} if(‘function’!=typeof
   $.fn.spin){$.fn.spin=function(x){};} this.isRtl=$(‘#wpadminbar’).hasClass(‘rtl’);
   this.count=$(‘#wpnt-notes-unread-count’);this.panel=$(‘#’+iframePanelId);this.
   hasUnseen=this.count.hasClass(‘wpn-unread’);if(‘undefined’!=typeof wpNotesIsJetpackClient&&
   wpNotesIsJetpackClient) t.isJetpack=true;if(t.isJetpack&&’undefined’!=typeof 
   wpNotesLinkAccountsURL) t.linkAccountsURL=wpNotesLinkAccountsURL;this.$el.children(‘.
   ab-item’).on(‘click touchstart’,function(e){e.preventDefault();t.togglePanel();
   return false;});this.preventDefault=function(e){if(e)e.preventDefault();return
   false;};if(iframeAppend==’2′){this.panel.mouseenter(function(){document.body.
   addEventListener(‘mousewheel’,t.preventDefault);});this.panel.mouseleave(function(){
   document.body.removeEventListener(‘mousewheel’,t.preventDefault);});if(typeof
   document.hidden!==’undefined’){document.addEventListener(‘visibilitychange’,function(){
   t.postMessage({action:”toggleVisibility”,hidden:document.hidden});});}} $(document).
   bind(“mousedown focus”,function(e){var $clicked;if(!t.showingPanel) return true;
   $clicked=$(e.target);if($clicked.is(document)) return true;if($clicked.closest(‘#
   wp-admin-bar-notes’).length) return true;t.hidePanel();return false;});$(document).
   on(‘keydown.notes’,function(e){var keyCode=wpNotesCommon.getKeycode(e);if(!keyCode)
   return;if((keyCode==27)) t.hidePanel();if((keyCode==78)) t.togglePanel();if(this.
   iframeWindow===null) return;if(t.showingPanel&&((keyCode==74)||(keyCode==40))){
   t.postMessage({action:”selectNextNote”});return false;} if(t.showingPanel&&((
   keyCode==75)||(keyCode==38))){t.postMessage({action:”selectPrevNote”});return
   false;} if(t.showingPanel&&((keyCode==82)||(keyCode==65)||(keyCode==83)||(keyCode
   ==84))){t.postMessage({action:”keyEvent”,keyCode:keyCode});return false;}});wpcom.
   events.on(‘notes:togglePanel’,function(){t.togglePanel();});if(t.isJetpack) t.
   loadIframe();else{setTimeout(function(){t.loadIframe();},3000);} if(t.count.hasClass(‘
   wpn-unread’)) wpNotesCommon.bumpStat(‘notes-menu-impressions’,’non-zero’);else
   wpNotesCommon.bumpStat(‘notes-menu-impressions’,’zero’);$(window).on(‘message’,
   function(event){if(!event.data&&event.originalEvent.data){event=event.originalEvent;}
   if(event.origin!=’[https://widgets.wp.com&#8217](https://widgets.wp.com&#8217);){
   return;} try{var data=(‘string’==typeof event.data)?JSON.parse(event.data):event.
   data;if(data.type!=’notesIframeMessage’){return;} t.handleEvent(data);}catch(
   e){}});},handleEvent:function(event){var inNewdash=(‘undefined’!==typeof wpcomNewdash&&’
   undefined’!==typeof wpcomNewdash.router&&’undefined’!==wpcomNewdash.router.setRoute);
   if(!event||!event.action){return;} switch(event.action){case”togglePanel”:this.
   togglePanel();break;case”render”:this.render(event.num_new,event.latest_type);
   break;case”renderAllSeen”:this.renderAllSeen();break;case”iFrameReady”:this.iFrameReady(
   event);break;case”goToNotesPage”:if(inNewdash){wpcomNewdash.router.setRoute(‘/
   notifications’);}else{window.location.href=’//wordpress.com/me/notifications/’;}
   break;case”widescreen”:var iframe=$(‘#’+iframeFrameId);if(event.widescreen&&!
   iframe.hasClass(‘widescreen’)){iframe.addClass(‘widescreen’);}else if(!event.
   widescreen&&iframe.hasClass(‘widescreen’)){iframe.removeClass(‘widescreen’);}
   break;}},render:function(num_new,latest_type){var t=this,flash=false;if((false
   ===this.hasUnseen)&&(0===num_new))

Viewing 1 replies (of 1 total)

 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wp-customizer-error/#post-8628051)
 * Hi,
 * Please use the following troubleshooting steps.
 * Check your software version.
 * 1 ) Check if you are using latest Hueman and Hueman Addons plugin, Update them
   if you are not using latest version.
 * Next step is to check for plugin conflict.
 * 1) If you are using a server cache or cache plugin, please clear it’s cache content
   and disable caching via it’s settings.
 * 2) Proceed to disable one plugin at a time, clear browser history and re-visit
   your customizer. Check if it’s working properly.
 * Do this until you find the plugin that’s causing this issue, please replace with
   an alternative plugin.
 * If you are still having problem. Please report back with what you had done for
   troubleshooting, as well as system information, which can be found in Appearance-
   > About Hueman Theme.
 * The theme Author [@nikeo](https://wordpress.org/support/users/nikeo/) will need
   the above mentioned information in order to troubleshoot this issue.
 * Thank you.

Viewing 1 replies (of 1 total)

The topic ‘WP Customizer error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/wp-customizer-error/#post-8628051)
 * Status: not resolved