pdir / contao-survey

Contao extension to create questionnaires and run online surveys
Other
4 stars 9 forks source link

Unable to start the survey after upgrade to 4.13 #48

Closed akroii closed 1 month ago

akroii commented 1 year ago

Bug description

After i upgraded to 4.13 i got this message when i want to open the suvrey:

[2023-08-15T14:11:08.488026+02:00] request.INFO: Matched route "tl_page.30". {"route":"tl_page.30","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.30","parameters":"/wie-steht-es-um-ihr-noak-wissen-testen-sie-es-mit-unserem-quiz","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.30","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://xxxx.ds-xxxxx.de/wie-steht-es-um-ihr-noak-wissen-testen-sie-es-mit-unserem-quiz.html","method":"GET"} []
[2023-08-15T14:11:08.660477+02:00] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\RouteParametersException: "Unable to generate route for page ID 30. The page requires an item but none was given." at /usr/www/users/cvdvik/CONTAO/ds-xxxx/4.9.x/update/vendor/contao/core-bundle/src/Routing/PageUrlGenerator.php line 110 {"exception":"[object] (Contao\\CoreBundle\\Exception\\RouteParametersException(code: 0): Unable to generate route for page ID 30. The page requires an item but none was given. at /usr/www/users/cvdvik/CONTAO/ds-xxxx/4.9.x/update/vendor/contao/core-bundle/src/Routing/PageUrlGenerator.php:110)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\InvalidParameterException(code: 0): Parameter \"parameters\" for route \"tl_page.30\" must match \"/.+?\" (\"\" given) to generate a corresponding URL. at /usr/www/users/cvdvik/CONTAO/ds-xxxxx/4.9.x/update/vendor/symfony/routing/Generator/UrlGenerator.php:194)"} []

Steps to reproduce

1) install latest 4.13 2) create a news item. 3) then put a survey into it. (maybe is the the cause of error?)

Expected behavior

The be opened like in 4.9

Environment

Contao 4.13 pdir/Survey 3.5.0 PHP 7.4.33

akroii commented 1 year ago

Maybe an issue with legacy_routing? In my example it is switched to false

akroii commented 1 year ago
Contao\CoreBundle\Exception\RouteParametersException:
Unable to generate route for page ID 30. The page requires an item but none was given.

  at vendor/contao/core-bundle/src/Routing/PageUrlGenerator.php:110
  at Contao\CoreBundle\Routing\PageUrlGenerator->generate('page_routing_object', array('parameters' => null), 1)
     (vendor/symfony-cmf/routing/src/DynamicRouter.php:180)
  at Symfony\Cmf\Component\Routing\DynamicRouter->generate('page_routing_object', array('_content' => object(PageModel), 'parameters' => null), 1)
     (vendor/symfony-cmf/routing/src/ChainRouter.php:248)
  at Symfony\Cmf\Component\Routing\ChainRouter->generate('page_routing_object', array('_content' => object(PageModel), 'parameters' => null))
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:1308)
  at Contao\Controller::generateFrontendUrl(array('id' => '30', 'pid' => '7', 'sorting' => '256', 'tstamp' => '1676961433', 'title' => 'News', 'alias' => 'news-aktuelles/news', 'type' => 'regular', 'pageTitle' => '', 'language' => 'de', 'robots' => 'index,follow', 'description' => null, 'redirect' => 'permanent', 'jumpTo' => '0', 'redirectBack' => '', 'url' => '', 'target' => '', 'dns' => '', 'staticFiles' => '', 'staticPlugins' => '', 'fallback' => '', 'favicon' => null, 'robotsTxt' => null, 'adminEmail' => '', 'dateFormat' => 'd.m.Y', 'timeFormat' => 'H:i', 'datimFormat' => 'd.m.Y, H:i', 'validAliasCharacters' => '0-9a-z', 'useSSL' => '', 'autoforward' => '', 'protected' => false, 'groups' => array(), 'includeLayout' => '1', 'layout' => '6', 'includeCache' => '', 'cache' => '3600', 'alwaysLoadFromCache' => '', 'clientCache' => '0', 'includeChmod' => '', 'cuser' => '1', 'cgroup' => '1', 'chmod' => 'a:12:{i:0;s:2:"u1";i:1;s:2:"u2";i:2;s:2:"u3";i:3;s:2:"u4";i:4;s:2:"u5";i:5;s:2:"u6";i:6;s:2:"g1";i:7;s:2:"g2";i:8;s:2:"g3";i:9;s:2:"g4";i:10;s:2:"g5";i:11;s:2:"g6";}', 'noSearch' => '', 'requireItem' => '1', 'cssClass' => '', 'sitemap' => 'map_never', 'hide' => '1', 'guests' => '', 'tabindex' => '0', 'accesskey' => '', 'published' => '1', 'start' => '', 'stop' => '', 'enforceTwoFactor' => '', 'twoFactorJumpTo' => '0', 'twitter_image' => null, 'twitter_description' => null, 'twitter_title' => '', 'twitter_card' => 'summary_large_image', 'twitter_creator' => '', 'twitter_site' => '', 'og_properties' => 'a:1:{i:0;a:2:{i:0;s:0:"";i:1;s:0:"";}}', 'og_image' => null, 'og_type' => '', 'og_title' => '', 'megamenu_menu' => '0', 'megamenu_enable' => '', 'catalogRoutingTable' => '', 'catalogMasterTable' => '', 'catalogChangeLanguageTable' => '', 'catalogRouting' => '', 'catalogSetAutoItem' => '', 'catalogRoutingParameter' => null, 'catalogUseRouting' => '', 'catalogUseChangeLanguage' => '', 'catalogShowInBreadcrumb' => '', 'catalogUseMaster' => '', 'canonicalWebsite' => 'https://update.website/wie-steht-es-um-ihr-noak-wissen-testen-sie-es-mit-unserem-quiz.html', 'canonicalJumpTo' => '0', 'canonicalType' => 'external', 'newsCategories_param' => '', 'cssStyleSelector' => null, 'loginlink_jumpTo' => '0', 'loginlink' => '', 'cookiebarBlocking' => '', 'cookiebarAlignment' => '', 'cookiebarTemplate' => '', 'cookiebarExcludePages' => null, 'cookiebarInfoUrls' => null, 'cookiebarInfoDescription' => null, 'cookiebarDescription' => null, 'cookiebarConfig' => '', 'overwriteCookiebarMeta' => '', 'activateCookiebar' => '', 'cookiebarButtonColorScheme' => '', 'linkWhitelist' => null, 'prefillCookies' => '', 'triggerCookiebar' => '', 'urlPrefix' => '', 'urlSuffix' => '.html', 'useFolderUrl' => '1', 'subpageLayout' => '0', 'canonicalKeepParams' => '', 'canonicalLink' => '', 'enableCanonical' => '', 'mailerTransport' => '', 'maintenanceMode' => '', 'routePriority' => '0', 'disableLanguageRedirect' => '', 'mainAlias' => 'news-aktuelles', 'mainTitle' => 'News & Aktuelles', 'mainPageTitle' => 'News & Aktuelles', 'parentAlias' => 'news-aktuelles', 'parentTitle' => 'News & Aktuelles', 'parentPageTitle' => 'News & Aktuelles', 'folderUrl' => 'news-aktuelles/', 'rootId' => '1', 'rootAlias' => 'website-de', 'rootTitle' => 'Daiichi Sankyo Kardiothek', 'rootPageTitle' => 'Daiichi Sankyo Kardiothek', 'rootSorting' => '128', 'domain' => 'update.website', 'rootLanguage' => 'de', 'useAutoItem' => true, 'rootIsPublic' => true, 'rootIsFallback' => true, 'rootUseSSL' => '1', 'rootFallbackLanguage' => 'de', 'trail' => array('1', '7', '30'), 'isPublic' => true, 'hasJQuery' => '1', 'hasMooTools' => '', 'layoutId' => '6', 'template' => 'fe_bootstrap', 'templateGroup' => 'templates/website', 'minifyMarkup' => ''))
     (vendor/pdir/contao-survey/src/Resources/contao/elements/ContentSurvey.php:306)
  at Hschottm\SurveyBundle\ContentSurvey->compile()
     (vendor/contao/core-bundle/src/Resources/contao/elements/ContentElement.php:246)
  at Contao\ContentElement->generate()
     (vendor/pdir/contao-survey/src/Resources/contao/elements/ContentSurvey.php:67)
  at Hschottm\SurveyBundle\ContentSurvey->generate()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:622)
  at Contao\Controller::getContentElement(object(ContentModel))
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNews.php:128)
  at Contao\ModuleNews->Contao\{closure}()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:151)
  at Contao\Template->__get('text')
     (templates/website/news_full_sidebar.html5:23)
  at include('/usr/www/users/website/CONTAO/website/4.9.x/update/templates/website/news_full_sidebar.html5')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:108)
  at Contao\Template->inherit()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:295)
  at Contao\Template->parse()
     (vendor/contao/core-bundle/src/Resources/contao/classes/FrontendTemplate.php:43)
  at Contao\FrontendTemplate->parse()
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNews.php:242)
  at Contao\ModuleNews->parseArticle(object(NewsModel))
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNewsReader.php:144)
  at Contao\ModuleNewsReader->compile()
     (vendor/christianbarkowsky/rel-canonical/modules/ModuleNewsReaderRelCannonical.php:47)
  at Barkowsky\RelCanonical\ModuleNewsReaderRelCannonical->compile()
     (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
  at Contao\Module->generate()
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNewsReader.php:76)
  at Contao\ModuleNewsReader->generate()
     (vendor/christianbarkowsky/rel-canonical/modules/ModuleNewsReaderRelCannonical.php:23)
  at Barkowsky\RelCanonical\ModuleNewsReaderRelCannonical->generate()
     (vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:98)
  at Contao\ContentModule->generate()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:622)
  at Contao\Controller::getContentElement(object(ContentModel), 'main')
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:197)
  at Contao\ModuleArticle->compile()
     (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
  at Contao\Module->generate()
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:70)
  at Contao\ModuleArticle->generate(false)
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:550)
  at Contao\Controller::getArticle(object(ArticleModel), false, false, 'main')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:392)
  at Contao\Controller::getFrontendModule(0, 'main')
     (vendor/fritzmg/contao-inherit-article/src/EventListener/InheritArticleListener.php:50)
  at InheritArticleBundle\EventListener\InheritArticleListener->getRenderedInheritedArticles(30, 'main')
     (vendor/fritzmg/contao-inherit-article/src/EventListener/InheritArticleListener.php:41)
  at InheritArticleBundle\EventListener\InheritArticleListener->onGetArticles(30, 'main')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:370)
  at Contao\Controller::getFrontendModule('0', 'main')
     (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:190)
  at Contao\PageRegular->prepare(object(PageModel))
     (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:60)
  at Contao\PageRegular->getResponse(object(PageModel), true)
     (vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:320)
  at Contao\FrontendIndex->renderPage(object(PageModel))
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/index.php:44)    

composer.json

{
    "type": "project",
    "require": {
        "alnv/catalog-manager": "^1.31",
        "alnv/catalog-manager-export": "^1.2",
        "alnv/catalog-manager-form-options": "^1.0",
        "alnv/catalog-manager-importer": "^1.3",
        "alnv/catalog-manager-wishlist": "^2.2",
        "christianbarkowsky/rel-canonical": "^3.3",
        "codefog/contao-news_categories": "^3.4",
        "contao-bootstrap/core": "^2.0",
        "contao-bootstrap/grid": "^2.3",
        "contao-bootstrap/layout": "^2.0",
        "contao/calendar-bundle": "4.13.*",
        "contao/conflicts": "*@dev",
        "contao/manager-bundle": "4.13.*",
        "contao/news-bundle": "4.13.*",
        "craffft/css-style-selector-bundle": "^1.6",
        "derhaeuptling/contao-mega-menu": "^1.0",
        "erdmannfreunde/calendar_feature": "^1.0",
        "erdmannfreunde/euf_hero": "^2.0",
        "erdmannfreunde/theme-toolbox": "^1.0",
        "exotelis/contao-card": "^1.0",
        "fritzmg/contao-file-access": "^2.2",
        "fritzmg/contao-inherit-article": "^3.0",
        "fritzmg/contao-news-related": "^1.3",
        "fritzmg/contao-simple-news-urls": "^3.0",
        "fritzmg/contao-swiper": "^4.0",
        "hh-com/contao-filereplace": "^1.2",
        "hofff/contao-calendarfield": "^4.0",
        "hofff/contao-layoutusage": "^2.1",
        "inspiredminds/contao-eventlist-extended": "^1.2",
        "inspiredminds/contao-wowjs": "^1.1",
        "madeyourday/contao-rocksolid-custom-elements": "^2.3",
        "marebe1602/mae_event_categories": "^1.5",
        "markenzoo/contao-file-helper-bundle": "^2.0",
        "numero2/contao-opengraph3": "^4.2",
        "numero2/contao-proper-filenames": "^2.1",
        "oveleon/contao-cookiebar": "^1.9",
        "pdir/contao-sticky-footer": "^1.0",
        "pdir/contao-survey": "^3.5",
        "richardhj/contao-ajax_reload_element": "^2.1",
        "slashworks/contao-simple-svg-icons-bundle": "^1.4",
        "stefansl/contao-divider-bundle": "^1.1",
        "tastaturberuf/contao-doccheck-login-bundle": "^1.0",
        "terminal42/contao-ajaxform": "^1.1",
        "terminal42/contao-conditionalformfields": "^3.0",
        "terminal42/contao-mp_forms": "^4.3",
        "terminal42/contao-url-rewrite": "^1.5",
        "terminal42/notification_center": "^1.6",
        "thescrat/contao-loginlink": "^1.0",
        "trilobit-gmbh/contao-ajaxpagination-bundle": "^1.2",
        "trilobit-gmbh/contao-tiles-bundle": "^1.0"
    },
    "extra": {
        "contao-component-dir": "assets"
    },
    "scripts": {
        "post-install-cmd": [
            "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
        ],
        "post-update-cmd": [
            "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
        ]
    }
}
MDevster commented 11 months ago

@akroii before upgrade to 4.13 the pdir/survey version was 3.5.0?

MDevster commented 11 months ago

@akroii Can you please test the current master and see if your problem is fixed?

akroii commented 11 months ago

I'm on it.

akroii commented 9 months ago

@akroii before upgrade to 4.13 the pdir/survey version was 3.5.0?

No, it was 3.4.2. but i'm not sure

akroii commented 9 months ago

under 3.5.0 i got this message:

[2023-11-17T11:31:59.403532+01:00] request.CRITICAL: Uncaught PHP Exception Contao\CoreBundle\Exception\RouteParametersException: "Unable to generate route for page ID 30. The page requires an item but none was given." at /usr/www/users/cvdvik/CONTAO/ds-kardiothek/4.9.x/update/vendor/contao/core-bundle/src/Routing/PageUrlGenerator.php line 110 {"exception":"[object] (Contao\\CoreBundle\\Exception\\RouteParametersException(code: 0): Unable to generate route for page ID 30. The page requires an item but none was given. at /usr/www/users/xxx/CONTAO/ds-xxx/4.9.x/update/vendor/contao/core-bundle/src/Routing/PageUrlGenerator.php:110)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\InvalidParameterException(code: 0): Parameter \"parameters\" for route \"tl_page.30\" must match \"/.+?\" (\"\" given) to generate a corresponding URL. at /usr/www/users/xxx/CONTAO/ds-xxx/4.9.x/update/vendor/symfony/routing/Generator/UrlGenerator.php:194)"} []
Contao\CoreBundle\Exception\RouteParametersException:
Unable to generate route for page ID 30. The page requires an item but none was given.

  at vendor/contao/core-bundle/src/Routing/PageUrlGenerator.php:110
  at Contao\CoreBundle\Routing\PageUrlGenerator->generate('page_routing_object', array('parameters' => null), 1)
     (vendor/symfony-cmf/routing/src/DynamicRouter.php:180)
  at Symfony\Cmf\Component\Routing\DynamicRouter->generate('page_routing_object', array('_content' => object(PageModel), 'parameters' => null), 1)
     (vendor/symfony-cmf/routing/src/ChainRouter.php:248)
  at Symfony\Cmf\Component\Routing\ChainRouter->generate('page_routing_object', array('_content' => object(PageModel), 'parameters' => null))
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:1308)
  at Contao\Controller::generateFrontendUrl(array('id' => '30', 'pid' => '7', 'sorting' => '256', 'tstamp' => '1676961433', 'title' => 'News', 'alias' => 'news-aktuelles/news', 'type' => 'regular', 'pageTitle' => '', 'language' => 'de', 'robots' => 'index,follow', 'description' => null, 'redirect' => 'permanent', 'jumpTo' => '0', 'redirectBack' => '', 'url' => '', 'target' => '', 'dns' => '', 'staticFiles' => '', 'staticPlugins' => '', 'fallback' => '', 'favicon' => null, 'robotsTxt' => null, 'adminEmail' => '', 'dateFormat' => 'd.m.Y', 'timeFormat' => 'H:i', 'datimFormat' => 'd.m.Y, H:i', 'validAliasCharacters' => '0-9a-z', 'useSSL' => '', 'autoforward' => '', 'protected' => false, 'groups' => array(), 'includeLayout' => '1', 'layout' => '6', 'includeCache' => '', 'cache' => '3600', 'alwaysLoadFromCache' => '', 'clientCache' => '0', 'includeChmod' => '', 'cuser' => '1', 'cgroup' => '1', 'chmod' => 'a:12:{i:0;s:2:"u1";i:1;s:2:"u2";i:2;s:2:"u3";i:3;s:2:"u4";i:4;s:2:"u5";i:5;s:2:"u6";i:6;s:2:"g1";i:7;s:2:"g2";i:8;s:2:"g3";i:9;s:2:"g4";i:10;s:2:"g5";i:11;s:2:"g6";}', 'noSearch' => '', 'requireItem' => '1', 'cssClass' => '', 'sitemap' => 'map_never', 'hide' => '1', 'guests' => '', 'tabindex' => '0', 'accesskey' => '', 'published' => '1', 'start' => '', 'stop' => '', 'enforceTwoFactor' => '', 'twoFactorJumpTo' => '0', 'twitter_image' => null, 'twitter_description' => null, 'twitter_title' => '', 'twitter_card' => 'summary_large_image', 'twitter_creator' => '', 'twitter_site' => '', 'og_properties' => 'a:1:{i:0;a:2:{i:0;s:0:"";i:1;s:0:"";}}', 'og_image' => null, 'og_type' => '', 'og_title' => '', 'megamenu_menu' => '0', 'megamenu_enable' => '', 'catalogRoutingTable' => '', 'catalogMasterTable' => '', 'catalogChangeLanguageTable' => '', 'catalogRouting' => '', 'catalogSetAutoItem' => '', 'catalogRoutingParameter' => null, 'catalogUseRouting' => '', 'catalogUseChangeLanguage' => '', 'catalogShowInBreadcrumb' => '', 'catalogUseMaster' => '', 'newsCategories_param' => '', 'cssStyleSelector' => null, 'loginlink_jumpTo' => '0', 'loginlink' => '', 'cookiebarBlocking' => '', 'cookiebarAlignment' => '', 'cookiebarTemplate' => '', 'cookiebarExcludePages' => null, 'cookiebarInfoUrls' => null, 'cookiebarInfoDescription' => null, 'cookiebarDescription' => null, 'cookiebarConfig' => '', 'overwriteCookiebarMeta' => '', 'activateCookiebar' => '', 'cookiebarButtonColorScheme' => '', 'linkWhitelist' => null, 'prefillCookies' => '', 'triggerCookiebar' => '', 'urlPrefix' => '', 'urlSuffix' => '.html', 'useFolderUrl' => '1', 'subpageLayout' => '0', 'canonicalKeepParams' => '', 'canonicalLink' => '', 'enableCanonical' => '', 'mailerTransport' => '', 'maintenanceMode' => '', 'routePriority' => '0', 'disableLanguageRedirect' => '', 'alwaysForward' => '', 'mainAlias' => 'news-aktuelles', 'mainTitle' => 'News & Aktuelles', 'mainPageTitle' => 'News & Aktuelles', 'parentAlias' => 'news-aktuelles', 'parentTitle' => 'News & Aktuelles', 'parentPageTitle' => 'News & Aktuelles', 'folderUrl' => 'news-aktuelles/', 'rootId' => '1', 'rootAlias' => 'ds-kardiothek-de', 'rootTitle' => 'Daiichi Sankyo Kardiothek', 'rootPageTitle' => 'Daiichi Sankyo Kardiothek', 'rootSorting' => '128', 'domain' => 'update.ds-kardiothek.de', 'rootLanguage' => 'de', 'useAutoItem' => true, 'rootIsPublic' => true, 'rootIsFallback' => true, 'rootUseSSL' => '1', 'rootFallbackLanguage' => 'de', 'trail' => array('1', '7', '30'), 'isPublic' => true, 'hasJQuery' => '1', 'hasMooTools' => '', 'layoutId' => '6', 'template' => 'fe_bootstrap', 'templateGroup' => 'templates/ds-kardiothek', 'minifyMarkup' => ''))
     (vendor/pdir/contao-survey/src/Resources/contao/elements/ContentSurvey.php:306)
  at Hschottm\SurveyBundle\ContentSurvey->compile()
     (vendor/contao/core-bundle/src/Resources/contao/elements/ContentElement.php:246)
  at Contao\ContentElement->generate()
     (vendor/pdir/contao-survey/src/Resources/contao/elements/ContentSurvey.php:67)
  at Hschottm\SurveyBundle\ContentSurvey->generate()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:622)
  at Contao\Controller::getContentElement(object(ContentModel))
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNews.php:128)
  at Contao\ModuleNews->Contao\{closure}()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:151)
  at Contao\Template->__get('text')
     (templates/ds-kardiothek/news_full_sidebar.html5:23)
  at include('/usr/www/users/cvdvik/CONTAO/ds-kardiothek/4.9.x/update/templates/ds-kardiothek/news_full_sidebar.html5')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:108)
  at Contao\Template->inherit()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:295)
  at Contao\Template->parse()
     (vendor/contao/core-bundle/src/Resources/contao/classes/FrontendTemplate.php:43)
  at Contao\FrontendTemplate->parse()
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNews.php:242)
  at Contao\ModuleNews->parseArticle(object(NewsModel))
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNewsReader.php:144)
  at Contao\ModuleNewsReader->compile()
     (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
  at Contao\Module->generate()
     (vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNewsReader.php:76)
  at Contao\ModuleNewsReader->generate()
     (vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:98)
  at Contao\ContentModule->generate()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:622)
  at Contao\Controller::getContentElement(object(ContentModel), 'main')
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:197)
  at Contao\ModuleArticle->compile()
     (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
  at Contao\Module->generate()
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:70)
  at Contao\ModuleArticle->generate(false)
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:550)
  at Contao\Controller::getArticle(object(ArticleModel), false, false, 'main')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:392)
  at Contao\Controller::getFrontendModule(0, 'main')
     (vendor/fritzmg/contao-inherit-article/src/EventListener/InheritArticleListener.php:50)
  at InheritArticleBundle\EventListener\InheritArticleListener->getRenderedInheritedArticles(30, 'main')
     (vendor/fritzmg/contao-inherit-article/src/EventListener/InheritArticleListener.php:41)
  at InheritArticleBundle\EventListener\InheritArticleListener->onGetArticles(30, 'main')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:370)
  at Contao\Controller::getFrontendModule('0', 'main')
     (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:190)
  at Contao\PageRegular->prepare(object(PageModel))
     (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:60)
  at Contao\PageRegular->getResponse(object(PageModel), true)
     (vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:320)
  at Contao\FrontendIndex->renderPage(object(PageModel))
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (web/index.php:44)       

maybe a incompatibility with fritzmg/contao-simple-news-urls ?

MDevster commented 1 month ago

@akroii Please update to version 3.6.0. Does the error still exist?

MDevster commented 1 month ago

Ticket was closed because there was no more feedback. You can simply open it again if you wish.