TypeError: undefined is not an object (evaluating 'q.nTr')

TypeError: undefined is not an object (evaluating 'q.nTr')

trucmuche2005trucmuche2005 Posts: 71Questions: 22Answers: 2

Hello,

I'm getting this message in the browser console when I click on the "next" button to display the following page of data.
It happens on jquery.dataTables.min.js:26:308, just here :
null === q.nTr && Ja(a, l);

I didn't have this problem before but I changed so many things so I really don't know where this problem could come from...

I don't find that much information on the web. How can I debug it to understand the problem ??

Many thanks in advance,

T.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,833Questions: 1Answers: 10,518 Site admin

    Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.

    Information on how to create a test page, if you can't provide a link to your own page can be found here.

    Thanks,
    Allan

  • trucmuche2005trucmuche2005 Posts: 71Questions: 22Answers: 2

    Hello Allan,
    I sent a PM with login & password to the website I'm writing. Could you please have a look ?
    Many thanks in advance !
    T.

  • trucmuche2005trucmuche2005 Posts: 71Questions: 22Answers: 2
    Answer ✓

    Well, Allan helped me and found the problem : I wrote
    "pageLength" : '50'
    and it should be
    "pageLength" : 50
    (an integer, not a string)
    Now, it works perfectly :-)

This discussion has been closed.