CInvalidOperationException: Operation is not valid due to the current state of the object.
at CHttpResponse->Clear() in /var/www/saratovchess/data/www/saratovchess.ru/Application/App_Code/SiteControllerBase.php:line 123
at SiteControllerBase->OnException(CControllerContext, PDOException) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CController.php:line 713
at CController->InvokeExceptionFilters(CControllerContext, array, PDOException) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CController.php:line 630
at CController->Execute(CRequestContext) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CHtml.php:line 657
at CHtml::RenderRoute(NULL, string, string, array) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CHtml.php:line 627
at CHtml::RenderAction(string, string) in /var/www/saratovchess/data/www/saratovchess.ru/Application/Areas/Home/Views/Shared/Home.master.php:line 32
at include(string) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CPhpView.php:line 279
at CPhpView->RenderView(CControllerContext, string) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CPhpView.php:line 240
at CPhpView->Render(CControllerContext, CViewDataDictionary) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CViewResult.php:line 71
at CViewResult->ExecuteResult(CControllerContext) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CController.php:line 636
at CController->Execute(CRequestContext) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web.Mvc/CUrlRoutingHandler.php:line 19
at CUrlRoutingHandler->ProcessRequest(string) in /var/www/saratovchess/data/www/saratovchess.ru/Libraries/Framework/System.Web/CHttpApplication.php:line 95
at CHttpApplication->ProcessRequest() in /var/www/saratovchess/data/www/saratovchess.ru/index.php:line 27
220 * @return void
221 */
222 public function Clear()
223 {
224 if ($this->depth !== ob_get_level())
225 throw new CInvalidOperationException();
226
227 ob_clean();
228 }
229
230 /**