• Resolved chss

    (@chss)


    Issue description

    Chart does not render on second and subsequent page reload due to Javascript errors.

    Chart displays correctly in the wpDataCharts back-end dashboard.

    Error message
    TypeError: undefined is not an object (evaluating ‘wdtObj.fnDraw’) in wdt.chartsRender.js at line 66

    Apparent cause

    The global JS variable wpDataTables is not being populated on the second and subsequent reloads. This leads to the given error because it’s trying to access an index/property that does not exist in the object.

    If all local asset caches are bypassed ( always fetch from network ) then the chart displays.

    Environment

    Browsers tested on Apple Silicon Mac w/macOS Big Sur up-to-date:

    ? Safari ( latest )
    ? Chrome ( latest )
    ? Firefox ( latest )

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

    (@wpdatatables)

    Hi chss,

    Sorry for the trouble,

    Based on your explanation we can see that you are using Follow table filtering in charts which is the feature of the premium version.

    On this forum is not allowed support for the premium version, so please contact us on our support platform by choosing wpdatatables category and our support agents will help you out.

    Thank you for understanding.

    Best regards.

    Thread Starter chss

    (@chss)

    Hi,
    Thanks for the replay.
    I can’t contact your support as it says the key has expired (which it hasnt).
    This has been an ongoing problem that I have raised a number of times as I have never been able to register the plugin.
    Help appreciated.
    Jason

    Plugin Author wpDataTables

    (@wpdatatables)

    Hi chss,

    Sorry for the inconvenience,

    Then please choose the Pre-purchase question category and open a private ticket where you will explain to us in detail your issues and also wp-admin access so our support agents can access and investigate.

    Best regards.

    Hello,
    I’m having the exact same issue, unable to solve it…
    Any help is appreciated.

    Thanks and best regards
    Thorseb

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug: Chart does not render on second and subsequent page reload due to Javascrip’ is closed to new replies.