carbontwelve/CakePHP-Datatables — Issue #2: Don't find the modelNames in initialize
Author: alexgenovese
Created: 2012-01-17 16:02:32+00:00
State: open

Hello,
I have installed the plugin in Cakephp 2.0.5 but it doesn't function here is the output:

Invalid argument supplied for foreach() [APP/Plugin/c12_datatables/controllers/components/data_tables.php, line 33]

if I debug $this->controller->modelNames is empty.

I have:
1. Installed in app/plugin
2. CakePlugin::load('c12_datatables'); in bootstrap.php
3. replaced the my index controller and view with the sample code

Thanks in advance.
Alex