Hi zusammen,
ich bekomme seit einiger Zeit ständig folgende beiden PHPExceptions im Log:
Uncaught PHP Exception Error: "Call to a member function getSource() on null" at ApiRouteScope.php line 29 {"exception":"[object] (Error(code: 0): Call to a member function getSource() on null at /var/www/vendor/shopware/core/Framework/Routing/ApiRouteScope.php:29)"} []
und
Uncaught PHP Exception InvalidArgumentException: "The controller for URI "/robots.txt" is not callable: Controller "Shopware\Storefront\Controller\RobotsController" has required constructor arguments and does not exist in the container. Did you forget to define the controller as a service?" at ControllerResolver.php line 97 {"exception":"[object] (InvalidArgumentException(code: 0): The controller for URI \"/robots.txt\" is not callable: Controller \"Shopware\\Storefront\\Controller\\RobotsController\" has required constructor arguments and does not exist in the container. Did you forget to define the controller as a service? at /var/www/domet.de/vendor/symfony/http-kernel/Controller/ControllerResolver.php:97)\n[previous exception] [object] (InvalidArgumentException(code: 0): Controller \"Shopware\\Storefront\\Controller\\RobotsController\" has required constructor arguments and does not exist in the container. Did you forget to define the controller as a service? at /var/www/domet.de/vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php:49)\n[previous exception] [object] (ArgumentCountError(code: 0): Too few arguments to function Shopware\\Storefront\\Controller\\RobotsController::__construct(), 0 passed in /var/www/domet.de/vendor/symfony/http-kernel/Controller/ControllerResolver.php on line 152 and exactly 1 expected at /var/www/domet.de/vendor/shopware/storefront/Controller/RobotsController.php:21)"} []
Wir haben den Shop aus Kundennot heraus im September übernommen und Betriebssystem und Shopware auf die aktuellste Version gebracht. Ich habe mich so gut es geht eingearbeitet aber bei manchen Themen hapert es noch.
Der Shop läuft auf Debian 13 mit Apache, MariaDB und PHP8.4
Könnt ihr mir helfen?
Viele Grüße;
BJ