PHP warning

Creating default object from empty value

/home/shopecomexco/sajt/releases/69/protected/controllers/AjaxController.php(6330)

6318     public function actionAjaxForgotPasswordForm() {
6319         $return = array();
6320 
6321         $posted = (object) array(
6322             'data'  => isset($_POST['data']) ? $_POST['data'] : '',
6323             'opt'   => isset($_POST['opt']) ? $_POST['opt'] : '',
6324             'ajax'  => isset($_POST['ajax']) ? $_POST['ajax'] : '',
6325             'extra' => isset($_POST['extra']) ? $_POST['extra'] : '',
6326         );
6327         $posted = clsFunctions::convertToObjectArray($posted);
6328 
6329         if (isset($_GET['page'])) {
6330             $posted->opt->page = $_GET['page'];
6331         }
6332 
6333         // Get html
6334         $html = clsWidgets::getCustomerForgotPasswordForm($posted->opt);
6335 
6336         $return['fnc_data']['title']  = isset($html->title) ? $html->title : '';
6337         $return['fnc_data']['body']   = isset($html->body) ? $html->body : '';
6338         $return['fnc_data']['footer'] = isset($html->footer) ? $html->footer : '';
6339         $return['fnc_data']['class']  = 'change-password';
6340 
6341         $return['fnc'] = 'InfoModal';
6342 

Stack Trace

#7
+
 /home/shopecomexco/sajt/releases/69/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 14:01:19 LiteSpeed Yii Framework/1.1.14