Support » Plugin: Google Analytics Dashboard Plugin for WordPress by Analytify » Uncaught TypeError in dashboard

  • Resolved dubaidogfish

    (@dubaidogfish)


    The following shows in chrome console when loading dashboard

    Uncaught TypeError: Cannot read property 'setDefaults' of undefined
        at HTMLDocument.<anonymous> (admin.php?page=analytify-dashboard:3145)
        at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker,moxiejs,plupload&ver=5.1:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker,moxiejs,plupload&ver=5.1:2)
        at Function.ready (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker,moxiejs,plupload&ver=5.1:2)
        at HTMLDocument.K (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker,moxiejs,plupload&ver=5.1:2)
    
    The line 3145 is:
    jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":0,"isRTL":false});});
    • This topic was modified 8 months, 2 weeks ago by Steve Stern.
    • This topic was modified 8 months, 2 weeks ago by Steve Stern.
Viewing 1 replies (of 1 total)
  • I tested on my sites and it working perfectly fine. Can you please contact us at analytify.io/support/ as we may need more details to troubleshoot the issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught TypeError in dashboard’ is closed to new replies.