CButtonColumn Class throwing error Trying to get property of non-object

Getting the "Trying to get property of non-object" error when using CButtonColumn class.

<?php

// print_r(&#036;catInfo['data']);


// die();


&#036;dataProvider = new CArrayDataProvider(isset(&#036;catInfo['data']) ? (&#036;catInfo['data']) : null, array(


						


						'id'=&gt;'typeviewgrid'


						'keyField'=&gt;'_id',


						'pagination'=&gt;array(


						'pageSize'=&gt;10,)														


						));


			


&#036;this-&gt;widget('zii.widgets.grid.CGridView',array('dataProvider' =&gt; &#036;dataProvider,


										         'columns'=&gt;array(


																'_id',


																		array(


																				'class'=&gt;'CButtonColumn',


																				


																			),


																		)


																)																			


												);

?>

I got the same problem. Can’t figure it out…