PHP warning

Creating default object from empty value

/home/aceco/public_html/protected/controllers/AjaxController.php(5563)

5551     public function actionAjaxForgotPasswordForm() {
5552         $return = array();
5553 
5554         $posted = (object) array(
5555             'data'  => isset($_POST['data']) ? $_POST['data'] : '',
5556             'opt'   => isset($_POST['opt']) ? $_POST['opt'] : '',
5557             'ajax'  => isset($_POST['ajax']) ? $_POST['ajax'] : '',
5558             'extra' => isset($_POST['extra']) ? $_POST['extra'] : '',
5559         );
5560         $posted = clsFunctions::convertToObjectArray($posted);
5561 
5562         if (isset($_GET['page'])) {
5563             $posted->opt->page = $_GET['page'];
5564         }
5565 
5566         // Get html
5567         $html = clsWidgets::getCustomerForgotPasswordForm($posted->opt);
5568 
5569         $return['fnc_data']['title']  = isset($html->title) ? $html->title : '';
5570         $return['fnc_data']['body']   = isset($html->body) ? $html->body : '';
5571         $return['fnc_data']['footer'] = isset($html->footer) ? $html->footer : '';
5572         $return['fnc_data']['class']  = 'change-password';
5573 
5574         $return['fnc'] = 'InfoModal';
5575 

Stack Trace

#7
+
 /home/aceco/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 15:03:26 LiteSpeed Yii Framework/1.1.14