dataTable is not a function
-
Hello,
the tablepress plugin is causing the following error on any page with a tablepress table:(index):538 Uncaught TypeError: $(...).dataTable is not a function at HTMLDocument.<anonymous> ((index):538) at h (header-ce20d0dd876a8bcbd4205eb5c7aa5875.js:10) at Object.fireWith [as resolveWith] (header-ce20d0dd876a8bcbd4205eb5c7aa5875.js:10) at Function.ready (header-ce20d0dd876a8bcbd4205eb5c7aa5875.js:10) at HTMLDocument.g (header-ce20d0dd876a8bcbd4205eb5c7aa5875.js:10)This happens on a selfmade theme using Bootstrap 4.1 and Sage 9. In other posts I read the problem occurs due to ? incorrect load queues ? of jquery and tablepress.
I do not understand how tablepress can cause this error, if I am using Boostrap which is loading jquery. Shouldnt jquery include dataTable automatically? Do I have to load dataTable on my own? If so: Why doesn’t tablepress load it? I want to have as few dependencies as possible.
Best wishes,
William
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘dataTable is not a function’ is closed to new replies.