PHP warning

Creating default object from empty value

/home/silvergroupco/public_html/protected/controllers/AjaxController.php(5574)

5562     public function actionAjaxForgotPasswordForm() {
5563         $return = array();
5564 
5565         $posted = (object) array(
5566             'data'  => isset($_POST['data']) ? $_POST['data'] : '',
5567             'opt'   => isset($_POST['opt']) ? $_POST['opt'] : '',
5568             'ajax'  => isset($_POST['ajax']) ? $_POST['ajax'] : '',
5569             'extra' => isset($_POST['extra']) ? $_POST['extra'] : '',
5570         );
5571         $posted = clsFunctions::convertToObjectArray($posted);
5572 
5573         if (isset($_GET['page'])) {
5574             $posted->opt->page = $_GET['page'];
5575         }
5576 
5577         // Get html
5578         $html = clsWidgets::getCustomerForgotPasswordForm($posted->opt);
5579 
5580         $return['fnc_data']['title']  = isset($html->title) ? $html->title : '';
5581         $return['fnc_data']['body']   = isset($html->body) ? $html->body : '';
5582         $return['fnc_data']['footer'] = isset($html->footer) ? $html->footer : '';
5583         $return['fnc_data']['class']  = 'change-password';
5584 
5585         $return['fnc'] = 'InfoModal';
5586 

Stack Trace

#7
+
 /home/silvergroupco/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 14:36:28 LiteSpeed Yii Framework/1.1.14