PHP error

Non-static method General_functions::create_submenu() should not be called statically, assuming $this from incompatible context

/home/dascomla/public_html/es/protected/views/news/cases.php(19)

07         color: #584d86;
08         font-weight: bold;
09          
10     }
11 
12 </style>
13 <div class="topic">
14         <?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/product_06.gif'); ?>
15     <?php echo CHtml::link(Yii::t('menu','Inicio'),array('/')) ?>
16         <?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/arrow.gif'); ?>
17     <?php echo CHtml::link(Yii::t('menu','Noticias'),array('/site/pressReleases')) ?>
18 </div>
19 <?php echo General_functions::create_submenu('nosotros',1); ?>
20 
21     
22 <div style="min-height: 600px; line-height: 25px; text-align: justify; border: solid 1px #ccc; padding: 0;" class="col-lg-9 col-md-9 col-sm-12 col-xs-12 borde ">
23 
24     <?php 
25     
26     echo CHtml::image(Yii::app()->baseUrl . '/images/aboutus0.png', 'alt', array('class' => 'img-responsive','style' => 'border-radius: 5px;')); ?>
27     <div class="linkc" style="margin: 20px; margin-left: 30px; font-size: 16px;" > <?php echo Yii::t('News','NOTICIAS'); ?> </div>
28     <div class="linkc" style="margin: 20px; margin-left: 30px; font-size: 12px;" > <?php echo DATE_FORMAT(new DateTime($news->date_publication),'d-m-Y'); ?></div>
29     <div class="linkc" style="margin: 20px; margin-left: 2cm;" >
30         <?php $news->description;?> 
31     </div>

Stack Trace

#4
+
 /home/dascomla/public_html/es/protected/controllers/NewsController.php(54): CController->render("cases", array("model" => Noticias, "news" => Noticias))
49       $news= Noticias::model()->findByPk($id);
50      
51        $sql = "SELECT * FROM news title";
52        
53        //$news = Yii::app()->db->createCommand($sql)->queryAll();
54        $this->render('cases',array('model'=>$model2,'news'=>$news));
55     }
56 
57     public function actionArticles($id) {
58         $article = Articles::model()->findByPk($id);
59         $this->render('article', array(
#19
+
 /home/dascomla/public_html/es/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-29 14:45:41 Apache Yii Framework/1.1.14