Error 500 on CgridView Sorting and delete action


I am getting an error 500 while I am doing sorting on Yii CGridView and performing delete action via ajax.

If I set parameter “ajaxUpdate” to false, the flow will work properly but still I got the error 500 in browser’s console.

Would you please help me out of this error??

Thanks in Advance.