CDbException CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 515 General SQL Server error: Check messages from the SQL Server [515] (severity 16) [(null)]. The SQL statement executed was: INSERT INTO [dbo].[lime_notifications] ([status], [importance], [display_class], [entity], [entity_id], [title], [message], [created], [hash]) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5, :yp6, GETDATE(), :yp7). Bound with :yp0='new', :yp1=1, :yp2='default', :yp3='user', :yp4=1, :yp5='New update available (Current version: 170203)', :yp6='A security update is available.Click here to use ComfortUpdate.', :yp7='9e40344f3b6f569b347e2e5451c7e513a8e27fce7ec4ecea7244a104bfa94575' /var/www/feedback/framework/db/CDbCommand.php(358) 346 { 347 if($this->_connection->enableProfiling) 348 Yii::endProfile('system.db.CDbCommand.execute('.$this->getText().$par.')','system.db.CDbCommand.execute'); 349 350 $errorInfo=$e instanceof PDOException ? $e->errorInfo : null; 351 $message=$e->getMessage(); 352 Yii::log(Yii::t('yii','CDbCommand::execute() failed: {error}. The SQL statement executed was: {sql}.', 353 array('{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand'); 354 355 if(YII_DEBUG) 356 $message.='. The SQL statement executed was: '.$this->getText().$par; 357 358 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}', 359 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo); 360 } 361 } 362 363 /** 364 * Executes the SQL statement and returns query result. 365 * This method is for executing an SQL query that returns result set. 366 * @param array $params input parameters (name=>value) for the SQL execution. This is an alternative 367 * to {@link bindParam} and {@link bindValue}. If you have multiple input parameters, passing 368 * them in this way can improve the performance. Note that if you pass parameters in this way, 369 * you cannot bind parameters or values using {@link bindParam} or {@link bindValue}, and vice versa. 370 * Please also note that all values are treated as strings in this case, if you need them to be handled as