PHP error

Method ReflectionParameter::isArray() is deprecated

/home/bitrix/ext_www/iossro37.ru/reestr/framework/web/actions/CAction.php(96)

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

Stack Trace

#7
+
 /home/bitrix/ext_www/iossro37.ru/reestr/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 ?>
2024-03-19 10:13:10 Apache Yii Framework/1.1.13