Uncaught TypeError: Cannot read property 'sError' of null

Uncaught TypeError: Cannot read property 'sError' of null

AdibAdib Posts: 1Questions: 0Answers: 0
edited January 2014 in General
I searched the datatable forums, only to find 2 questions regarding this error, but none of the questions solved the error.

Below is the html and javascript. I am not being able to link my php server side file.

http://live.datatables.net/atuhap/5

This is the link from the debugger

http://debug.datatables.net/utejig


Here is the server side code

function data(){
$data['aaData']=array('Name'=>'Bangladesh','Continent'=>'Asia','LocalName'=>'BD');
return json_encode($data);
}

The call is made to the server side function. I ensured this my changing $data array slightly, and it returns a json parse error.

I am not really understanding this error. Could someone please help me out. Thank you in advance.
This discussion has been closed.