CakePHP datatables server side processing problem
CakePHP datatables server side processing problem

Hi all,
I'm trying to make my datatables load faster by following the instruction here https://datatables.net/development/server-side/php_cake since I'm using CakePHP.
I have a property table and I copied function ajaxData() to my property controller and change the modelClass so it points to property.
Then I copied the getData() function to property model and edited $aColumns by putting my property columns and set the database connection.
But I'm getting error when I try to load the property index page with the table as shown in the following images.
http://postimg.org/image/u3kfazz7v/
http://postimg.org/image/dq1ol2g99/
Can anyone please help me with this?
Thanks a lot!