Strict (2048): Declaration of CsvImportBehavior::setup() should be compatible with ModelBehavior
I am getting the following error: Strict (2048): Declaration of CsvImportBehavior::setup() should be compatible with ModelBehavior::setup(Model $model, $config = Array) [APP\Plugin\Utils\Model\Behavior\CsvImportBehavior.php, line 20] I followed the tutorial on this site: http://www.pronique.com/blog/enable-csv-import-all-controllers-models-cakephp-2 When I import my CSV file, it gives the following flash message: Successfully imported 0 records from Book1.csv I don't understand why its not importing, does it have something to do with the error/warning its giving? I looked inside the behaviour