Код: Выделить всё
$this->paginate=$this->Project->find('all', array('conditions' => array('category' => $this->request->data['Project']['category'])));
$this->set('projects', $this->paginate);
Код: Выделить всё
Warning (2): array_filter() expects parameter 1 to be array, null given [CORE\Cake\View\Helper\PaginatorHelper.php, line 403]
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE\Cake\View\Helper\PaginatorHelper.php, line 403]
Подробнее здесь: https://stackoverflow.com/questions/281 ... pagination
Мобильная версия