Hallo,
ich habe eine Installation Contao 4.4.47 auf eine neue 4.9.1 angehoben.
Die Installation des contao-youtube-bundle über den Contao-Manager funktioniert problemlos. Allerdings ist das Frontend ohne die Eingabe eines YOUTUBE API-Keys nicht erreichbar (siehe log-File Ausszug). Das war bei der Contao 4.4.x nicht so, hier war das Frontend auch ohne Eingabe eines API-Key erreichbar - beim neuen Aufbau einer Seite ist der Key noch nicht bekannt .
Code:
[2020-03-25 12:23:30] request.CRITICAL: Uncaught PHP Exception HeimrichHannot\YoutubeBundle\Exception\InvalidYoutubeApiKeyException: "Please specify your API key in the settings if you want to retrieve youtube thumbnails." at .../vendor/heimrichhannot/contao-youtube-bundle/src/Video/YoutubeVideoTemplateDataTrait.php line 124 {"exception":"[object] (HeimrichHannot\\YoutubeBundle\\Exception\\InvalidYoutubeApiKeyException(code: 0): Please specify your API key in the settings if you want to retrieve youtube thumbnails. at .../vendor/heimrichhannot/contao-youtube-bundle/src/Video/YoutubeVideoTemplateDataTrait.php:124)"}
Ist das ein BUG? Oder kann ich hier selbst etwas anpassen?
danke seagull
Lesezeichen