Fatal error: Uncaught RuntimeException: Нарушена целостность записи публикации. in /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Content/Relations/DatabaseRelatedPublicationCache.php:81 Stack trace: #0 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Content/Relations/DatabaseRelatedPublicationCache.php(39): KostinLab\Cms\Content\Relations\DatabaseRelatedPublicationCache->lockItem(115) #1 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Database/MySqlConnection.php(122): KostinLab\Cms\Content\Relations\DatabaseRelatedPublicationCache->{closure:KostinLab\Cms\Content\Relations\DatabaseRelatedPublicationCache::rememberIfEmpty():38}(Object(KostinLab\Cms\Database\MySqlConnection)) #2 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Content/Relations/DatabaseRelatedPublicationCache.php(38): KostinLab\Cms\Database\MySqlConnection->transaction(Object(Closure)) #3 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Compatibility/CompatiblePublicationPage.php(168): KostinLab\Cms\Content\Relations\DatabaseRelatedPublicationCache->rememberIfEmpty(115, '46,13,136,128,1...') #4 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Site/Content/Detail/PublicationPageApplication.php(126): KostinLab\Cms\Compatibility\CompatiblePublicationPage->relatedIds(Array) #5 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Site/Content/Detail/PublicationPageApplication.php(77): KostinLab\Cms\Site\Content\Detail\PublicationPageApplication->document(Object(KostinLab\Cms\Site\Content\Detail\PublicationPageInput), Object(KostinLab\Cms\Site\Content\Detail\PublicationPageState), Object(KostinLab\Cms\Compatibility\CompatiblePublicationPageTemplate), Object(KostinLab\Cms\Compatibility\CompatiblePublicationPage), Object(KostinLab\Cms\Site\Content\Detail\LoadedPublication), Object(KostinLab\Cms\Content\Access\PublicationAccessDecision)) #6 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Compatibility/CompatiblePublicationPage.php(129): KostinLab\Cms\Site\Content\Detail\PublicationPageApplication->handle(Object(KostinLab\Cms\Site\Content\Detail\PublicationPageInput), Object(KostinLab\Cms\Site\Content\Detail\PublicationPageState), Object(KostinLab\Cms\Compatibility\CompatiblePublicationPageTemplate), Object(KostinLab\Cms\Compatibility\CompatiblePublicationPage)) #7 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Compatibility/LegacySiteContentAssembly.php(208): KostinLab\Cms\Compatibility\CompatiblePublicationPage->render(Array, 'content-detail:...', NULL) #8 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Site/Content/Assembly/ContentPageApplication.php(65): KostinLab\Cms\Compatibility\LegacySiteContentAssembly->publication('content-detail:...', NULL) #9 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Compatibility/LegacySiteContentAssembly.php(143): KostinLab\Cms\Site\Content\Assembly\ContentPageApplication->handle(Object(KostinLab\Cms\Site\Content\Assembly\ContentPageRequest), Object(KostinLab\Cms\Site\Content\Assembly\ContentPageState), Object(KostinLab\Cms\Compatibility\LegacySiteContentAssembly)) #10 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Site/Content/SiteContentAssemblyController.php(31): KostinLab\Cms\Compatibility\LegacySiteContentAssembly->assemble(Object(KostinLab\Cms\Site\Content\SiteContentAssemblyContext)) #11 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Site/Page/DefaultContentPageHandler.php(37): KostinLab\Cms\Site\Content\SiteContentAssemblyController->handle(Object(KostinLab\Cms\Site\Content\SiteContentAssemblyContext)) #12 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Site/Page/SitePageControllerRegistry.php(59): KostinLab\Cms\Site\Page\DefaultContentPageHandler->handle(Object(KostinLab\Cms\Http\Request)) #13 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/kosn.php(303): KostinLab\Cms\Site\Page\SitePageControllerRegistry->dispatch('', Object(KostinLab\Cms\Http\Request)) #14 /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/init.php(536): include_once('/srv/data/www/r...') #15 /srv/data/www/ruschool/data/www/kalinka65.ru/index.php(36): require_once('/srv/data/www/r...') #16 {main} thrown in /srv/data/www/ruschool/data/www/kalinka65.ru/kosn/Content/Relations/DatabaseRelatedPublicationCache.php on line 81