Fehler: Nach Update auf Contao 4.13 und TAO 1.6.5 erhalte ich – TypeError: Cannot access offset of type string on string

D@TK's Avatar

D@TK

07 Oct, 2024 12:28 PM

Produkt: Tao Contao
Contao-Version: 4.13 | TAO 1.6.5
Browser und Browserversionen: Chrome latest

Der Stack Trace im Detail:

TypeError:
Cannot access offset of type string on string


at vendor/contao/core-bundle/src/EventListener/DataContainer/ContentCompositionListener.php:237 at Contao\CoreBundle\EventListener\DataContainer\ContentCompositionListener->getArticleColumnInLayout() (vendor/contao/core-bundle/src/EventListener/DataContainer/ContentCompositionListener.php:220) at Contao\CoreBundle\EventListener\DataContainer\ContentCompositionListener->hasArticlesInLayout() (vendor/contao/core-bundle/src/EventListener/DataContainer/ContentCompositionListener.php:78) at Contao\CoreBundle\EventListener\DataContainer\ContentCompositionListener->renderPageArticlesOperation() (vendor/contao/core-bundle/src/Resources/contao/classes/DataContainer.php:938) at Contao\DataContainer->generateButtons() (vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:4178) at Contao\DC_Table->generateTree() (vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:4274) at Contao\DC_Table->generateTree() (vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:3798) at Contao\DC_Table->treeView() (vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:302) at Contao\DC_Table->showAll() (vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:667) at Contao\Backend->getBackendModule() (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:168) at Contao\BackendMain->run() (vendor/contao/core-bundle/src/Controller/BackendController.php:49) at Contao\CoreBundle\Controller\BackendController->mainAction() (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle() (web/index.php:44) at require('/kunden/216460_14770/rp-hosting/K81/A87/413_lts/web/index.php') (web/app.php:13)

Die composer.json:

{
    "name": "contao/managed-edition",
    "type": "project",
    "description": "Contao Open Source CMS",
    "license": "LGPL-3.0-or-later",
    "authors": [
        {
            "name": "Leo Feyer",
            "homepage": "https://github.com/leofeyer"
        }
    ],
    "require": {
        "cgoit/contao-calendar-ical-bundle": "^5.3",
        "codefog/contao-haste": "^5",
        "contao/calendar-bundle": "4.13.*",
        "contao/comments-bundle": "4.13.*",
        "contao/conflicts": "*@dev",
        "contao/faq-bundle": "4.13.*",
        "contao/listing-bundle": "4.13.*",
        "contao/manager-bundle": "4.13.*",
        "contao/news-bundle": "4.13.*",
        "contao/newsletter-bundle": "4.13.*",
        "jrgregory/m17-sticky-backend-footer": "^2.0",
        "madeyourday/contao-rocksolid-columns": "^v2",
        "madeyourday/contao-rocksolid-custom-elements": "^v2",
        "madeyourday/contao-rocksolid-frontend-helper": "^v2",
        "madeyourday/contao-rocksolid-icon-picker": "^v2",
        "madeyourday/contao-rocksolid-mega-menu": "^v2",
        "madeyourday/contao-rocksolid-slider": "^v2",
        "madeyourday/contao-rocksolid-theme-assistant": "^v2",
        "oneup/contao-ical-export": "^2.1",
        "terminal42/contao-inserttags": "^2",
        "terminal42/dcawizard": "^3",
        "terminal42/notification_center": "^2"
    },
    "extra": {
        "contao-component-dir": "assets"
    },
    "scripts": {
        "post-install-cmd": [
          "@php vendor/bin/contao-setup"
        ],
        "post-update-cmd": [
          "@php vendor/bin/contao-setup"
        ]
    }
}

Ich gelange in das Backend der Installation, jedoch lässt sich die Seitenstruktur nicht aufrufen. Dann erscheint sofort der oben genannte Fehler. Alle installierten Erweiterungen im Contao Manger habe ich auf die kompatible Version zu 4.13 angehoben. Die Datenbank ist aktuell. Der Contao Manager läuft ohne Fehler durch.

Woran kann es liegen, dass ich die Seitenstruktur nicht mehr öffnen kann?

Beste Grüße
Dennis

  1. Support Staff 1 Posted by RockSolid Theme... on 07 Oct, 2024 03:14 PM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Die Fehlermeldung deutet darauf hin, dass in der Tabelle tl_layout bei einem der Layouts die Spalte modules fehlerhaft ist. Eventuell lässt sich der Fehler beheben wenn Sie alle Seitenlayouts einmal bearbeiten und erneut speichern.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac