CException

Please specify the "data" property.

/home/coukbonavacantia/public_html/yii-1.1.14/framework/zii/widgets/CDetailView.php(137)

125      * @var string the URL of the CSS file used by this detail view. Defaults to null, meaning using the integrated
126      * CSS file. If this is set false, you are responsible to explicitly include the necessary CSS file in your page.
127      */
128     public $cssFile;
129 
130     /**
131      * Initializes the detail view.
132      * This method will initialize required property values.
133      */
134     public function init()
135     {
136         if($this->data===null)
137             throw new CException(Yii::t('zii','Please specify the "data" property.'));
138         if($this->attributes===null)
139         {
140             if($this->data instanceof CModel)
141                 $this->attributes=$this->data->attributeNames();
142             elseif(is_array($this->data))
143                 $this->attributes=array_keys($this->data);
144             else
145                 throw new CException(Yii::t('zii','Please specify the "attributes" property.'));
146         }
147         if($this->nullDisplay===null)
148             $this->nullDisplay='<span class="null">'.Yii::t('zii','Not set').'</span>';
149         if(isset($this->htmlOptions['id']))

Stack Trace

#2
+
 /home/coukbonavacantia/public_html/protected/views/unclaimedUsers/view_user.php(135): CBaseController->widget("zii.widgets.CDetailView", array("data" => null, "attributes" => array(array("type" => "html", "name" => "surname", "value" => "<i>Not Found</i>"), array("type" => "html", "name" => "forename", "value" => "<i>Not Found</i>"), array("type" => "html", "name" => "bv_reference", "value" => "<i>Not Found</i>"), array("type" => "html", "name" => "publication_date", "value" => "<i>Not Found</i>"), ...)))
130                               'type' => 'html',
131                               'name' => 'informant',
132                               'value' => $model_user->informant == null ? '<i>Not Found</i>' : $model_user->informant,
133                               ), */
134                             ),
135                         ));
136                         ?>
137                         <span>
138                             Are you an heir or do you have information regarding the heirs to an estate?
139                         <br /><br />
140                             If you have good reason to think you are an heir to an estate or have information regarding the deceased, their estate or their heirs then please use the form below to contact us.
#7
+
 /home/coukbonavacantia/public_html/protected/controllers/UnclaimedUsersController.php(86): CController->render("view_user", array("model_user" => null, "model" => UnclaimedUsers))
81                 $this->redirect(array('viewUser', 'id' => $id));
82             }
83 
84             //p($_POST);
85         }
86         $this->render('view_user', array('model_user' => $model_user, 'model' => $model));
87     }
88 
89     public function actionSearch() {
90         $this->pageTitle = 'Bona Vacantia List | Search Now';
91         Yii::app()->clientScript->registerMetaTag('Search the Bona Vacantia List  Now! Find the estates of deceased persons and to identify their own entitlement.', 'description');
#17
+
 /home/coukbonavacantia/public_html/index.php(23): CApplication->run()
18 //Yii::createWebApplication('JVWebApplication',$config)->run();
19 Yii::createApplication('JVWebApplication', $config);
20 require_once 'constant.php';
21 
22 //require_once(dirname(__FILE__).'/protected/components/CommonClass.php');
23 Yii::app()->run();
24                             
25                             
2024-03-19 09:43:36 Apache Yii Framework/1.1.14