PHP warning

Creating default object from empty value

/home/macron/public_html/protected/controllers/AjaxController.php(5764)

5752     public function actionAjaxForgotPasswordForm() {
5753         $return = array();
5754 
5755         $posted = (object) array(
5756             'data'  => isset($_POST['data']) ? $_POST['data'] : '',
5757             'opt'   => isset($_POST['opt']) ? $_POST['opt'] : '',
5758             'ajax'  => isset($_POST['ajax']) ? $_POST['ajax'] : '',
5759             'extra' => isset($_POST['extra']) ? $_POST['extra'] : '',
5760         );
5761         $posted = clsFunctions::convertToObjectArray($posted);
5762 
5763         if (isset($_GET['page'])) {
5764             $posted->opt->page = $_GET['page'];
5765         }
5766 
5767         // Get html
5768         $html = clsWidgets::getCustomerForgotPasswordForm($posted->opt);
5769 
5770         $return['fnc_data']['title']  = isset($html->title) ? $html->title : '';
5771         $return['fnc_data']['body']   = isset($html->body) ? $html->body : '';
5772         $return['fnc_data']['footer'] = isset($html->footer) ? $html->footer : '';
5773         $return['fnc_data']['class']  = 'change-password';
5774 
5775         $return['fnc'] = 'InfoModal';
5776 

Stack Trace

#7
+
 /home/macron/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 11:52:53 LiteSpeed Yii Framework/1.1.14