Error

Non-static method CHttpRequest::getParam() cannot be called statically

/var/www/vhosts/prolocofontaneto.it/httpdocs/site/protected/views/site/pages/contenuti.php(139)

127     //// ELENCO NOTIZIE /////////
128     
129     ?>
130     
131  
132 
133 
134     <div class="elenco_notizie">
135     
136 
137 <? // FOTOGALLERY PAGINA 
138  
139 if( CHttpRequest::getParam('id') == 3) { ?>
140    <!--  protected/views/site/pages/contenuti.php  -->
141            
142         <script type="text/javascript" src="/site/lightbox/js/lightbox-2.6.min.js"></script>
143 
144 <link rel="stylesheet" href="/site/lightbox/css/screen.css" media="screen"/>
145 <link rel="stylesheet" href="/site/lightbox/css/lightbox.css" media="screen"/>
146 
147 
148 <style>
149 .hide{ display:none}
150 
151 .gallery_banner{ display: block;  position: relative;  float: left;  width: 90%;   background-color: #eee;

Stack Trace

#12
+
 /var/www/vhosts/prolocofontaneto.it/httpdocs/site/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-19 11:36:35 Apache Yii Framework/1.1.13