PHP warning

Creating default object from empty value

/home/happygiraffe/public_html/protected/controllers/AjaxController.php(5585)

5573     public function actionAjaxForgotPasswordForm() {
5574         $return = array();
5575 
5576         $posted = (object) array(
5577             'data'  => isset($_POST['data']) ? $_POST['data'] : '',
5578             'opt'   => isset($_POST['opt']) ? $_POST['opt'] : '',
5579             'ajax'  => isset($_POST['ajax']) ? $_POST['ajax'] : '',
5580             'extra' => isset($_POST['extra']) ? $_POST['extra'] : '',
5581         );
5582         $posted = clsFunctions::convertToObjectArray($posted);
5583 
5584         if (isset($_GET['page'])) {
5585             $posted->opt->page = $_GET['page'];
5586         }
5587 
5588         // Get html
5589         $html = clsWidgets::getCustomerForgotPasswordForm($posted->opt);
5590 
5591         $return['fnc_data']['title']  = isset($html->title) ? $html->title : '';
5592         $return['fnc_data']['body']   = isset($html->body) ? $html->body : '';
5593         $return['fnc_data']['footer'] = isset($html->footer) ? $html->footer : '';
5594         $return['fnc_data']['class']  = 'change-password';
5595 
5596         $return['fnc'] = 'InfoModal';
5597 

Stack Trace

#7
+
 /home/happygiraffe/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-29 07:51:55 LiteSpeed Yii Framework/1.1.14