Fehler class is deprecated since Symfony 4.2

Hallo,

mein System flutet Logmeldungen wie unten dargestellt.
ZunÀchst meine Systemdaten.
Nextcloud version : 21.0.0
Operating system and version : Debian
Webserver: Apache
PHP version : 8.0.3

Ähnliches Problem wie Bad Gateway 502 when logging out jedoch mit Apache.

Fehler:
{“reqId”:“xxxx”,“level”:3,“time”:“March 07, 2021 16:03:21”,“remoteAddr”:“xxxxxxx”,“user”:“xxxxxxx”,“app”:“PHP”,“method”:“GET”,“url”:"/index.php/settings/ajax/checksetup",“message”:{“Exception”:“Error”,“Message”:“The “Symfony\Component\Translation\PluralizationRules” class is deprecated since Symfony 4.2. at /var/www/html/nextcloud/3rdparty/symfony/translation/PluralizationRules.php#38”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:"::"},{“file”:"/var/www/html/nextcloud/3rdparty/symfony/translation/PluralizationRules.php",“line”:38,“function”:“trigger_error”},{“file”:"/var/www/html/nextcloud/lib/private/L10N/L10N.php",“line”:226,“function”:“get”,“class”:“Symfony\Component\Translation\PluralizationRules”,“type”:"::"},{“file”:"/var/www/html/nextcloud/lib/private/L10N/L10NString.php",“line”:70,“function”:“OC\L10N\{closure}”,“class”:“OC\L10N\L10N”,“type”:"->",“args”:["*** sensitive parameters replaced ***"]},{“file”:"/var/www/html/nextcloud/lib/private/L10N/L10N.php",“line”:131,“function”:"__toString",“class”:“OC\L10N\L10NString”,“type”:"->"},{“file”:"/var/www/html/nextcloud/lib/private/L10N/LazyL10N.php",“line”:57,“function”:“n”,“class”:“OC\L10N\L10N”,“type”:"->"},{“file”:"/var/www/html/nextcloud/lib/private/DateTimeFormatter.php",“line”:257,“function”:“n”,“class”:“OC\L10N\LazyL10N”,“type”:"->"},{“file”:"/var/www/html/nextcloud/apps/settings/lib/Controller/CheckSetupController.php",“line”:534,“function”:“formatTimeSpan”,“class”:“OC\DateTimeFormatter”,“type”:"->"},{“file”:"/var/www/html/nextcloud/apps/settings/lib/Controller/CheckSetupController.php",“line”:732,“function”:“getLastCronInfo”,“class”:“OCA\Settings\Controller\CheckSetupController”,“type”:"->"},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:218,“function”:“check”,“class”:“OCA\Settings\Controller\CheckSetupController”,“type”:"->"},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:127,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/App.php",“line”:157,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/html/nextcloud/lib/private/Route/Router.php",“line”:302,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:993,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/var/www/html/nextcloud/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::"}],“File”:"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php",“Line”:92,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0”,“version”:“21.0.0.18”}

3 Likes

bei meiner neuen Installation auch!
Nutze Ubuntu 20.04 mit PHP 8.0.3 und MariaDB 10 auf Apache 2.4

Nextcloud 21.0.0 frisch installiert. Mein Log ist voll mit den oben stehenden Meldungen.

1 Like

Ich hatte das gleichzeitig auch schon auf github gemeldet. Dort wurde der Fehler auch schon eher von jemanden anderen gemeldet. Aber getan hat sich nichts. Die Version 21 habe ich schnell wieder rĂŒckgĂ€ngig gemacht. Da sind noch viele weitere Fehler drinnen. Auch sind die Addon Hersteller noch nicht soweit. Die Neugier hat einfach ĂŒberwogen. Den Fehler werde ich nicht wieder machen neue Versionen vorschnell zu installieren. Da warte ich lieber bis das erste oder zweite Update fĂŒr die 21iger da sein wird.

Ich habe ebenfalls die besagten Meldungen bei frischer Nextcloud 21 Installation ( alle Test bei Einstellungen → Übersicht bestanden) auf PHP 8.0.3 Apache 2.4.38 und Maria DB 10.3.

3 Likes

Same problem for me.
Any solution found ?

1 Like

Problem besteht bei mir auch (immer noch).