Closed derSeffi closed 1 month ago
Danke für die Rückmeldung, wir prüfen das.
Nach dem Update auf 5.4 wirft das Fronend einen Internal Error aus Contao\CoreBundle\String\HtmlAttributes::addStyle(): Argument #1 ($styles) must be of type array|string, null given, called in /srv/.../.../.../.../vendor/contao/core-bundle/contao/templates/block/block_searchable.html5 on line 6
This will be fixed by https://github.com/contao/contao/pull/7446
For the other issue: please test current dev-main
.
I have now installed version 5.4.x-dev and tested both again. The API key still cannot be saved. The error message in the backend reads => None of the chained routers were able to generate route: Route 'Fenepedia\ContaoErecht24Rechtstexte\Controller\PushController' not found, Route 'Route 'Fenepedia\ContaoErecht24Rechtstexte\Controller\PushController' not found' not found
The pages with the legal texts now throw a different, general error. The log file reads => [2024-08-15T19:09:03.220365+02:00] request.INFO: Matched route "tl_page.3". {"route":"tl_page.3","route_parameters":{"_controller":"Contao\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.3","parameters":"","pageModel":{"Contao\PageModel":[]},"_route":"tl_page.3","_route_object":{"Contao\CoreBundle\Routing\Page\PageRoute":[]}},"request_uri":"https://XXX.de/impressum","method":"GET"} {"request_uri":"https://XXX/impressum","request_method":"GET"} [2024-08-15T19:09:03.256826+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Contao\CoreBundle\String\HtmlAttributes::addStyle(): Argument #1 ($styles) must be of type array|string, null given, called in /srv/.../.../.../.../vendor/contao/core-bundle/contao/templates/block/block_searchable.html5 on line 6" at HtmlAttributes.php line 227 {"exception":"[object] (TypeError(code: 0): Contao\CoreBundle\String\HtmlAttributes::addStyle(): Argument #1 ($styles) must be of type array|string, null given, called in /srv/.../..../..../.../vendor/contao/core-bundle/contao/templates/block/block_searchable.html5 on line 6 at /srv/.../.../.../.../vendor/contao/core-bundle/src/String/HtmlAttributes.php:227)"} {"request_uri":"https://XXXde/impressum","request_method":"GET"} [2024-08-15T19:09:03.306209+02:00] messenger.INFO: Stopping worker. {"transport_names":["contao_prio_high"]} {"request_uri":"https://XXX.de/impressum","request_method":"GET"}
I have now installed version 5.4.x-dev
Why? You need to test dev-main
of this extension.
Sorry, my mistake. 🙈 Current versions: Contao 5.4.0, Extension 1.0dev.
Status: The API key still cannot be saved, and there are still error messages when accessing the pages with the legal texts.
Extension 1.0dev.
How do you mean? You need to set the version to dev-main
.
Okay, let me explain: First, I changed the version of the extension to "1.0dev" in the Contao Manager.
After your latest feedback, I changed the version of the extension to "dev-main" in the composer.json and refreshed the production cache. That didn't change anything.
How do I correctly change the version of the extension to "dev-main"?
You need to change the version to dev-main
and then update all packages. If you need further help with these processes, please use the Contao Community Slack or Forum, as GitHub issues should be kept clean of general support discussions unrelated to the repository's software itself.
Thank you for your support, the API key can now be saved again.
Released as 1.0.5
. @derSeffi you can now switch back to ^1.0
.
Nach dem Update auf 5.4 wirft das Fronend einen Internal Error auf den Seiten mit den Rechtstexten aus Contao\CoreBundle\String\HtmlAttributes::addStyle(): Argument #1 ($styles) must be of type array|string, null given, called in /srv/.../.../.../.../vendor/contao/core-bundle/contao/templates/block/block_searchable.html5 on line 6
Anscheinend funktioniert die Synchronisation mit eRecht auch nicht mehr und der API-Schlüssel kann ebenfalls nicht neu gespeichert werden: Fehler beim Speichern im Backend: Die Daten konnten nicht gespeichert werden, weil ein Fehler aufgetreten ist! => None of the chained routers were able to generate route: Route Fenepedia\ContaoErecht24Rechtstexte\Controller\PushController' not found,
Da die Version 5.4 ja noch ganz frisch ist, kommt da bestimmt eh noch was von euch - Danke schon einmal! Frank Contao 5.4.0 / Plugin 1.0.4