• Resolved 5tu

    (@5tu)


    On our intranet site (not public) all wpDataCharts fail to display on the front end although they do display on the back end.

    I have tried disabling all other plugins in case a compatibility issue exists, but the problem still continues.

    When viewing a page on the front end where a wpDataChart *should* be displayed, the following error is logged in the browser development tools….

    wdt.chartsRender.min.js?ver=3.4.4:1 Uncaught TypeError: $.ready.then is not a function
    at wdt.chartsRender.min.js?ver=3.4.4:1
    at dispatch (jquery.js:4430)
    at r.handle (jquery.js:4116)

    Any help would be much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hello there.

    Sorry for the late response.

    There’s an issue with jQuery, and it will be fixed with the next update. Until then, please go to wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.chartsRender.js and on line 3 replace this:

    $.ready.then(function() {

    With this:

    $.when( $.ready ).then(function() {

    Then, in wpDataTables settings/Custom JS and CSS, on the bottom of the page – disable the “Minified” checkbox, delete cache on your website, and the issue should be resolved.

    Kind regards!

    Thread Starter 5tu

    (@5tu)

    That fixed it – thanks.

    Plugin Author wpDataTables

    (@wpdatatables)

    Hello there.

    You are welcome,

    Best regards.

    nevermind!

    • This reply was modified 3 years, 8 months ago by jshetrone. Reason: different problem

    I am getting this issue. I edited the page as described, but the following pages won’t finish loading.

    Dashboard – YES
    WPDataTables – NO
    Create a Table – NO
    WPDataCharts – NO
    Create a Chart – NO
    Settings – NO
    System Info – YES
    Getting Started – NO
    Get Help – NO (ironic)
    Lite Vs Premium – NO
    Addons – NO

    Chrome Console Says:

    load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.7.2:2 jQuery.Deferred exception: Cannot read property 'title' of undefined TypeError: Cannot read property 'title' of undefined
        at HTMLDocument.<anonymous> (https://connectbrokers.co.uk/wp-content/plugins/wpdatatables/assets/js/bootstrap/bootstrap-tour/bootstrap-tour-guide.js:735:61)
        at e (https://connectbrokers.co.uk/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.7.2:2:30005)
        at t (https://connectbrokers.co.uk/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.7.2:2:30307) undefined
    • This reply was modified 3 years, 8 months ago by mikenco.
    • This reply was modified 3 years, 8 months ago by mikenco.

    Bizarre. I disabled Elementor and Elementor PRO. The WPDataTables admin pages start working again. Re-activate Elementor and Elementor PRO and it all still works… I don’t use a caching plugin.

    Weird.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wpDataCharts not rendering’ is closed to new replies.