PHP error

Declaration of MinifyClientScript::registerScriptFile() should be compatible with CClientScript::registerScriptFile($url, $position = NULL, array $htmlOptions = Array)

/home/ywimnylul0u4/public_html/basma_v2/protected/components/MinifyClientScript.php(37)

25  * THE POSSIBILITY OF SUCH DAMAGE.
26  */
27 
28 /**
29  * MinifyClientScript class file.
30  */
31 Yii::import('ext.wbkrnl.CssCompressor');
32 Yii::import('ext.jsmin.JSMin');
33 
34 /**
35  * MinifyClientScript manages JavaScript and CSS stylesheets for views.
36  */
37 class MinifyClientScript extends CClientScript {
38 
39     /**
40      * Path to the 'original' CSS
41      * @var string
42      */
43     private $relativeCssPath;
44 
45     /**
46      * Path to the minify runtime files
47      * @var string
48      */
49     private $minifyPath;

Stack Trace

#4
+
 /home/ywimnylul0u4/public_html/basma_v2/protected/views/layouts/main.php(21): CModule->__get("clientScript")
16 
17     <script async src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
18      <link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" />
19     <script async src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>    
20     <?php
21     $cs        = Yii::app()->clientScript;
22     $themePath = Yii::app()->request->baseUrl;
23     Yii::app()->clientScript->scriptMap=array(
24             'jquery.js'=>false,
25     );    
26     /**
#12
+
 /home/ywimnylul0u4/public_html/basma_v2/protected/views/layouts/column2.php(106): CBaseController->endContent()
101              </ul>
102         <?php $this->endWidget();?>  
103         </div>
104     
105   <?php endif; ?>  
106 <?php $this->endContent(); ?>
#16
+
 /home/ywimnylul0u4/public_html/basma_v2/protected/controllers/GalleryController.php(63): CController->render("show", array("model" => Gallery))
58 
59     public function actionShow($name){
60 
61         $model = $this->loadModelBySlugify($name);
62         
63         $this->render('show',array('model'=>$model));
64     }
65     /**
66      * Creates a new model.
67      * If creation is successful, the browser will be redirected to the 'view' page.
68      */
2024-03-29 14:58:04 Apache Yii Framework/1.1.14