PHP warning

Creating default object from empty value

/usr/www/users/kukcka/kuk/protected/controllers/AjaxController.php(5483)

5471     public function actionAjaxForgotPasswordForm() {
5472         $return = array();
5473 
5474         $posted = (object) array(
5475             'data'  => isset($_POST['data']) ? $_POST['data'] : '',
5476             'opt'   => isset($_POST['opt']) ? $_POST['opt'] : '',
5477             'ajax'  => isset($_POST['ajax']) ? $_POST['ajax'] : '',
5478             'extra' => isset($_POST['extra']) ? $_POST['extra'] : '',
5479         );
5480         $posted = clsFunctions::convertToObjectArray($posted);
5481 
5482         if (isset($_GET['page'])) {
5483             $posted->opt->page = $_GET['page'];
5484         }
5485 
5486         // Get html
5487         $html = clsWidgets::getCustomerForgotPasswordForm($posted->opt);
5488 
5489         $return['fnc_data']['title']  = isset($html->title) ? $html->title : '';
5490         $return['fnc_data']['body']   = isset($html->body) ? $html->body : '';
5491         $return['fnc_data']['footer'] = isset($html->footer) ? $html->footer : '';
5492         $return['fnc_data']['class']  = 'change-password';
5493 
5494         $return['fnc'] = 'InfoModal';
5495 

Stack Trace

#7
+
 /usr/www/users/kukcka/kuk/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 16:10:39 Apache Yii Framework/1.1.14