Property 'oFeatures' of undefined

Property 'oFeatures' of undefined

microwifimicrowifi Posts: 1Questions: 1Answers: 0
edited May 2021 in FixedHeader

Errors:
Uncaught TypeError: Cannot read property 'oFeatures' of undefined
at new m (datatables.min.js:297)
at HTMLDocument.<anonymous> (index.php?r=articoli:27965)
at e (jquery.min.js:2)
at t (jquery.min.js:2)

Warnings:
jQuery.Deferred exception: Cannot read property 'oFeatures' of undefined TypeError: Cannot read property 'oFeatures' of undefined
at new m (https://cdn.datatables.net/v/bs4/dt-1.10.24/fc-3.3.2/fh-3.1.8/r-2.2.7/datatables.min.js:297:227)
at HTMLDocument.<anonymous> (http://abc.xyz/index.php?r=articoli:27965:17)
at e (http://abc.xyz/vendor/jquery/jquery.min.js:2:30038)
at t (http://abc.xyz/vendor/jquery/jquery.min.js:2:30340)

These are the file loaded (in order as you can see):
script0

In addition to these ones I have 2 more script files:
script1 script2

I get an error are you can see but the page's workflow runs as expected without any "visual error".
I want to know because I got the error one and how I can fix it.

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    That normally happens when the number of columns in the HTML and the JS and Ajax (if appropriate) doesn't match. That would be the place to start.

    If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.