Controller wird nicht geladen
Hallo,
wollte gerade mal eine Erweiterung von mir testen ob die ohne Probleme läuft, leider kommt folgende Meldung:
Code:
Cannot load resource "@FansiteManagerCoreBundle/Controller/Ajax". Make sure
the "FansiteManagerCoreBundle" bundle is correctly registered and loaded i
n the application kernel class. If the bundle is registered, make sure the
bundle path "@FansiteManagerCoreBundle/Controller/Ajax" is not empty.
AjaxVideoController.php
PHP-Code:
namespace WEBROXX\FansiteManagerCore\Controller\Ajax;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Doctrine\DBAL\Connection;
use Contao\CoreBundle\Framework\ContaoFramework;
use Contao\CoreBundle\Image\Studio\Studio;
use Contao\StringUtil;
#[Route('/video/{id}', name: AjaxVideoController::class)]
#[AsController]
class AjaxVideoController
...
services.yml
Code:
WEBROXX\FansiteManagerCore\Controller\Ajax\AjaxVideoController:
public: true
unter 5.3 lief diese problemlos