PHP warning

Creating default object from empty value

/home/stilkraft/public_html/protected/controllers/AjaxController.php(5350)

5338     public function actionAjaxForgotPasswordForm() {
5339         $return = array();
5340 
5341         $posted = (object) array(
5342             'data'  => isset($_POST['data']) ? $_POST['data'] : '',
5343             'opt'   => isset($_POST['opt']) ? $_POST['opt'] : '',
5344             'ajax'  => isset($_POST['ajax']) ? $_POST['ajax'] : '',
5345             'extra' => isset($_POST['extra']) ? $_POST['extra'] : '',
5346         );
5347         $posted = clsFunctions::convertToObjectArray($posted);
5348 
5349         if (isset($_GET['page'])) {
5350             $posted->opt->page = $_GET['page'];
5351         }
5352 
5353         // Get html
5354         $html = clsWidgets::getCustomerForgotPasswordForm($posted->opt);
5355 
5356         $return['fnc_data']['title']  = isset($html->title) ? $html->title : '';
5357         $return['fnc_data']['body']   = isset($html->body) ? $html->body : '';
5358         $return['fnc_data']['footer'] = isset($html->footer) ? $html->footer : '';
5359         $return['fnc_data']['class']  = 'change-password';
5360 
5361         $return['fnc'] = 'InfoModal';
5362 

Stack Trace

#7
+
 /home/stilkraft/public_html/index.php(17): CApplication->run()
12 $yii=dirname(__FILE__).'/yii/framework/yii.php';
13 $config=dirname(__FILE__).'/protected/config/main.php';
14 
15 require_once($yii);
16 
17 Yii::createWebApplication($config)->run();
2024-03-28 10:07:53 LiteSpeed Yii Framework/1.1.14