PHP error

Method ReflectionParameter::isArray() is deprecated

/home/mobitelc/public_html/framework/web/actions/CAction.php(95)

083      * @param array $params the named parameters
084      * @return boolean whether the named parameters are valid
085      * @since 1.1.7
086      */
087     protected function runWithParamsInternal($object, $method, $params)
088     {
089         $ps=array();
090         foreach($method->getParameters() as $i=>$param)
091         {
092             $name=$param->getName();
093             if(isset($params[$name]))
094             {
095                 if($param->isArray())
096                     $ps[]=is_array($params[$name]) ? $params[$name] : array($params[$name]);
097                 else if(!is_array($params[$name]))
098                     $ps[]=$params[$name];
099                 else
100                     return false;
101             }
102             else if($param->isDefaultValueAvailable())
103                 $ps[]=$param->getDefaultValue();
104             else
105                 return false;
106         }
107         $method->invokeArgs($object,$ps);

Stack Trace

#12
+
 /home/mobitelc/public_html/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();
14 
15 
2024-03-19 08:31:20 Apache Yii Framework/1.1.12