Open nicolefdeguzman opened 7 years ago
PHP Warning – yii\base\ErrorException
array_slice() expects parameter 1 to be array, object given
in /app/vendor/yiisoft/yii2/data/ArrayDataProvider.php at line 96 87888990919293949596979899100101102103104105 }
if (($pagination = $this->getPagination()) !== false) {
$pagination->totalCount = $this->getTotalCount();
if ($pagination->getPageSize() > 0) {
$models = array_slice($models, $pagination->getOffset(), $pagination->getLimit(), true);
}
}
return $models;
}
/**
Same problem here, no news on this issue?
same problem here 👍
I can't display the attachments because of this error.