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/SiteController.php(27): CController->render("about")
22     }
23     
24     
25     public function actionAbout(){
26         $this->layout = '//layouts/column2';
27         $this->render('about');
28     }
29 
30     /**
31      * This is the default 'index' action that is invoked
32      * when an action is not explicitly requested by users.
2024-03-29 02:03:28 Apache Yii Framework/1.1.14