I have a table in which data is coming from a database. I am using data tables on that table. But the problem is when there is no row in the database, it displays alert
DataTables warning (table id = 'table-filter'): Requested unknown parameter '0' from the data source for row 0
My jQuery code for table is:
$('#table-filter').dataTable({
    "bPaginate": true,
    "bProcessing": false,
    "bStateSave": false,
    "aLengthMenu": [[5, 10, 20, 50, 100 , -1], [5, 10, 20, 50, 100, "All"]],
    "iDisplayLength" : 5,
    "sPaginationType": "full_numbers",
    "aoColumnDefs": [
        { 'bSortable': false, 'aTargets': [ 0,7 ] }
    ],
    "oLanguage": {
        "sLengthMenu": "Show _MENU_ records per page",
        "sZeroRecords": "Nothing found - sorry",
        "sInfo": "Showing _START_ to _END_ of _TOTAL_ Entries",
        "sInfoEmpty": "Showing 0 to 0 of 0 records",
        "sInfoFiltered": "(filtered from _MAX_ total records)"
    }
}).columnFilter({
    aoColumns:[ null,
         { type: "text" },
         { type: "text" },
         { type: "text" }, { type: "text" },
         { type: "text" },
         { type: "text" }
    ],
});
What can I do for this?