Fehler: Fehler bei Update über SSH und Terminal

Seefahrer's Avatar

Seefahrer

14 Mar, 2025 09:48 AM

Produkt: Frontend Helper Contao
Contao-Version: 5.5.5

Bei Update über die Kommandozeile wirft der Task zum Ende folgenden Fehler:

Class "\return" does not exist in /www/htdocs/w00c556f/carlo.luetten-dieks-
carlito.eu/vendor/madeyourday/contao-rocksolid-frontend-helper/src/Controll er (which is being imported from "/www/htdocs/w00c556f/carlo.luetten-dieks- carlito.eu/vendor/madeyourday/contao-rocksolid-frontend-helper/src/Resource s/config/routing.yml"). Make sure there is a loader supporting the "annotat ion" type.

  1. Support Staff 1 Posted by RockSolid Theme... on 17 Mar, 2025 09:29 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Ähnliche Fehler sind anscheinend in den letzen Tagen in der Contao-Community aufgetreten bei Websites die beim Hosting-Provider all-inkl.com gehostet werden. Es wurde auch davon berichtet, dass ein Wechsel der PHP-Version (8.2, 8.3 oder 8.4) bei einigen Installationen das Problem beheben konnte.

    Bei welchem Hosting-Provider liegt Ihre Website?

  2. 2 Posted by Seefahrer on 17 Mar, 2025 12:36 PM

    Seefahrer's Avatar

    Die Seite wird tatsächlich bei All-Inkl gehostet. Der Fehler trat trotz Verwendung von PHP 8.4 auf (8.4 ist bei mir die Standardeinstellung). Vermutlich hat All-Inkl den Fehler noch am gleichen Abend behoben, da der Manager kurz nach Meldung des Fehlers hier und auf Github wieder einwandfrei durchlief.

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