PHP notice

Array to string conversion

C:\inetpub\wwwroot\limesurvey\framework\web\helpers\CHtml.php(2104)

2092             $raw=false;
2093 
2094         if($raw)
2095         {
2096             foreach($htmlOptions as $name=>$value)
2097             {
2098                 if(isset($specialAttributes[$name]))
2099                 {
2100                     if($value)
2101                         $html .= ' ' . $name . '="' . $name . '"';
2102                 }
2103                 else if($value!==null)
2104                     $html .= ' ' . $name . '="' . $value . '"';
2105             }
2106         }
2107         else
2108         {
2109             foreach($htmlOptions as $name=>$value)
2110             {
2111                 if(isset($specialAttributes[$name]))
2112                 {
2113                     if($value)
2114                         $html .= ' ' . $name . '="' . $name . '"';
2115                 }
2116                 else if($value!==null)

Stack Trace
#0 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\helpers\CHtml.php(140): CHtml::renderAttributes(array("style" => "width: 156px", "encode" => false, "en" => array("selected" => true), "name" => "InstallerConfigForm[surveylang]", ...))
#1 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\helpers\CHtml.php(1412): CHtml::tag("select", array("style" => "width: 156px", "encode" => false, "en" => array("selected" => true), "name" => "InstallerConfigForm[surveylang]", ...), " <option value="he"> &#1506;&#1489;&#1512;&#1497;&#1514; - Hebre...")
#2 	

 C:\inetpub\wwwroot\limesurvey\application\views\installer\optconfig_view.php(73): CHtml::activeDropDownList(InstallerConfigForm, "surveylang", array("he" => " &#1506;&#1489;&#1512;&#1497;&#1514; - Hebrew", "be" => "&#1041;&#1077;&#1083;&#1072;&#1088;&#1091;&#1089;&#1082;&#1110; ...", "mk" => "&#1052;&#1072;&#1082;&#1077;&#1076;&#1086;&#1085;&#1089;&#1082;&...", "ru" => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081; - Russian", ...), array("style" => "width: 156px", "encode" => false, "en" => array("selected" => true)))

68 <?php
69 foreach(getLanguageData(true, Yii::app()->session['installerLang']) as $langkey => $languagekind)
70 {
71     $languages[htmlspecialchars($langkey)] = sprintf('%s - %s', $languagekind['nativedescription'], $languagekind['description']);
72 }
73 echo CHtml::activeDropDownList($model, 'surveylang', $languages, array('style' => 'width: 156px', 'encode' => false, 'en' => array('selected' => true)));
74 ?>
75 </td>
76 </tr>
77 <tr>
78 <td>&nbsp;</td>

#3 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\CBaseController.php(127): require("C:\inetpub\wwwroot\limesurvey\application\views\installer\optcon...")
#4 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\CBaseController.php(96): CBaseController->renderInternal("C:\inetpub\wwwroot\limesurvey\application\views/installer/optcon...", array("clang" => Limesurvey_lang, "confirmation" => "Database <b>limesurvey</b> has been successfully populated.", "title" => "Optional settings", "descp" => "Optional settings to give you a head start", ...), true)
#5 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\CController.php(870): CBaseController->renderFile("C:\inetpub\wwwroot\limesurvey\application\views/installer/optcon...", array("clang" => Limesurvey_lang, "confirmation" => "Database <b>limesurvey</b> has been successfully populated.", "title" => "Optional settings", "descp" => "Optional settings to give you a head start", ...), true)
#6 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\CController.php(783): CController->renderPartial("/installer/optconfig_view", array("clang" => Limesurvey_lang, "confirmation" => "Database <b>limesurvey</b> has been successfully populated.", "title" => "Optional settings", "descp" => "Optional settings to give you a head start", ...), true)
#7 	

 C:\inetpub\wwwroot\limesurvey\application\controllers\InstallerController.php(657): CController->render("/installer/optconfig_view", array("clang" => Limesurvey_lang, "confirmation" => "Database <b>limesurvey</b> has been successfully populated.", "title" => "Optional settings", "descp" => "Optional settings to give you a head start", ...))

652             }
653         } elseif(empty(Yii::app()->session['configFileWritten'])) {
654             $this->_writeConfigFile();
655         }
656 
657         $this->render('/installer/optconfig_view', $aData);
658     }
659 
660     /**
661     * Loads a helper
662     *

#8 	

 C:\inetpub\wwwroot\limesurvey\application\controllers\InstallerController.php(82): InstallerController->stepOptionalConfiguration()

77             case 'populatedb':
78                 $this->stepPopulateDb();
79                 break;
80 
81             case 'optional':
82                 $this->stepOptionalConfiguration();
83                 break;
84 
85             case 'index' :
86             default :
87                 $this->redirect($this->createUrl('installer/welcome'));

#9 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\CWebApplication.php(276): InstallerController->run("optional")
#10 	
+
 C:\inetpub\wwwroot\limesurvey\framework\web\CWebApplication.php(135): CWebApplication->runController("installer/optional")
#11 	
+
 C:\inetpub\wwwroot\limesurvey\framework\base\CApplication.php(162): CWebApplication->processRequest()
#12 	
+
 C:\inetpub\wwwroot\limesurvey\index.php(171): CApplication->run()
2012-05-22 17:53:41 Microsoft-IIS/7.5 Yii Framework/1.1.10
