Undefined index draw..

Undefined index draw..

silver2018silver2018 Posts: 3Questions: 3Answers: 0

Hi, I want to display dataTables in views in MVC pattern in php.
I got this error 'Undefined index draw on line...'
When can I get this error?

Thanks.

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Sounds like your server-side script is expecting server-side processing parameters, but either the client-side isn't sending them or the server isn't seeing them. Two things to check:

    1. You have enabled serverSide
    2. If you are using a GET request then the server is expecting GET data, likewise if it expects a POST then use a POST!

    Allan

This discussion has been closed.