CDbException

Table "lime_questions" does not have a column named "language".

/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/framework/db/schema/CDbCommandBuilder.php(697)

685                     }
686                     else
687                     {
688                         $conditions[]=$prefix.$column->rawName.'='.self::PARAM_PREFIX.$i;
689                         $values[self::PARAM_PREFIX.$i]=$value;
690                         $i++;
691                     }
692                 }
693                 else
694                     $conditions[]=$prefix.$column->rawName.' IS NULL';
695             }
696             else
697                 throw new CDbException(Yii::t('yii','Table "{table}" does not have a column named "{column}".',
698                     array('{table}'=>$table->name,'{column}'=>$name)));
699         }
700         $criteria->params=array_merge($values,$criteria->params);
701         if(isset($conditions[0]))
702         {
703             if($criteria->condition!='')
704                 $criteria->condition=implode(' AND ',$conditions).' AND ('.$criteria->condition.')';
705             else
706                 $criteria->condition=implode(' AND ',$conditions);
707         }
708         return $criteria;
709     }

Stack Trace

#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/application/controllers/admin/questions.php(274): CActiveRecord->findByAttributes(array("qid" => 59761, "gid" => 3431, "language" => "en"))
269 
270         $oQuestion = Question::model()->findByAttributes(array(
271             'qid' => $qid,
272             'gid' => $gid,
273             'language' => $survey->language
274         ));
275 
276         $questionrow = $oQuestion->attributes;
277 
278         $qtproperties = Question::typeList();
279 
#4
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(questions, ReflectionMethod, array("surveyid" => "578744", "gid" => "3431", "qid" => "59761", "sa" => "editdefaultvalues", ...))
78             $oMethod = new ReflectionMethod($this, $sDefault);
79         }
80 
81         // We're all good to go, let's execute it
82         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
83         return parent::runWithParamsInternal($this, $oMethod, $params);
84     }
85 
86     /**
87      * Some functions have different parameters, which are just an alias of the
88      * usual parameters we're getting in the url. This function just populates
#8
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/application/controllers/AdminController.php(158): CController->run("questions")
153                     $this->redirect(array('/admin/authentication/sa/login'));
154                 }
155             }
156         }
157 
158         return parent::run($action);
159     }
160 
161     /**
162      * Routes all the actions to their respective places
163      *
2018-02-03 15:31:43 Apache/2.2.22 (Debian) Yii Framework/1.1.18