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

#2
+
–
 C:\inetpub\wwwroot\limesurvey\application\views\installer\optconfig_view.php(73): CHtml::activeDropDownList(InstallerConfigForm, "surveylang", array("he" => " עברית - Hebrew", "be" => "Беларускі ...", "mk" => "Македонск&...", "ru" => "Русский - 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>
#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'));
2012-05-22 17:53:41 Microsoft-IIS/7.5 Yii Framework/1.1.10