When I try to run the following code
<?=
ListView::widget([
'dataProvider' => $dataProvider,
'itemView' => '_fichaRevista',
'summary ' => '',
]);
?>
I get this Exception:
Unknown Property – yii\base\UnknownPropertyException
Setting unknown property: yii\widgets\ListView::summary
Why?
According to the documentation
summary
property is correct.
What is going wrong?
That is because you have a
white-space
in the property namesummary
in the end remove it and it will work or copy paste from below