Hallo,
ich wollte gerade im Backend einen Artikel bearbeiten und erhalte eine Fehlermeldung:
Code:
Attempted to load class "Utf8" from namespace "Patchwork". Did you forget a "use" statement for another namespace?
Es betrifft den Belegungsplan auf dieser Website und wird hier im Frontend korrekt angezeigt
https://www.wismarhafen.de/fewo-caravelle.html
Die verwendete Erweiterung ist auf dem aktuellen Stand 3.0.1:
https://packagist.org/packages/mailw...ngsplan-bundle
Hier die composer.json:
Code:
{
"type": "project",
"require": {
"bugbuster/contao-visitors-bundle": "1.8.*",
"codefog/contao-mobile_menu": "^2.7",
"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.*",
"do-while/contao-backupdb-bundle": "^1.6",
"madeyourday/contao-rocksolid-antispam": "^2.1",
"madeyourday/contao-rocksolid-slider": "^2.2",
"mailwurm/belegungsplan-bundle": "^3.0",
"netzmacht/contao-font-awesome-inserttag": "^2.0",
"oveleon/contao-cookiebar": "^1.15",
"terminal42/notification_center": "^1.5"
},
"extra": {
"contao-component-dir": "assets",
"public-dir": "web"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Und hier die Logdatei:
Code:
[2024-05-16T07:14:44.086738+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Utf8" from namespace "Patchwork". Did you forget a "use" statement for another namespace?" at /var/www/vhosts/fewo-wismarhafen.de/httpdocs/website/vendor/mailwurm/belegungsplan-bundle/src/Resources/contao/modules/ModuleBelegungsplan.php line 68 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"Utf8\" from namespace \"Patchwork\".\nDid you forget a \"use\" statement for another namespace? at /var/www/vhosts/fewo-wismarhafen.de/httpdocs/website/vendor/mailwurm/belegungsplan-bundle/src/Resources/contao/modules/ModuleBelegungsplan.php:68)"} []
Was habe ich übersehen?
Vielen Dank für Hinweise.
Lesezeichen