terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

Version 1.5.13 not installable in contao 4.13 #45

Closed OMOSde closed 1 year ago

OMOSde commented 1 year ago

Contao 4.13 Php 8.1 Fresh installation (console)

Error message: Fatal error: Declaration of Terminal42\NodeBundle\Picker\NodePickerProvider::supportsContext(string $context): bool must be compatible with Contao\CoreBundle\Picker\PickerProviderInterface::supportsContext($context) in C:\Laragon\www\wguw-wgu-wismar.de\vendor\terminal42\contao-node\src\Picker\NodePickerProvider.php on line 70

Maybe introduced by https://github.com/terminal42/contao-node/commit/8dc6f833edd4dee62f82c3a255c7f5a70df6d853 ?

mlwebworker commented 1 year ago

Habe den gleichen Fehler nach dem Update auf Contao 4.13.10 auf 4.13.12 und dem Update von contao-node auf Version 1.5.13

Nachtrag: Die betroffene Installation habe ich erst wieder zum Laufen bekommen nach dem ich auf PHP 7.4 umgestellt habe. Installiert wird dann contao-node in Version 1.5.10. Ich hatte diese Installation allerdings schon vor dem jetzigen Update auf PHP 8 um gestellt, da lief alles. Allerdings weiß ich nicht welche Version von contao-node installiert war.

OMOSde commented 1 year ago

Ich habe in der composer.json einen Konflikt eingetragen:

"terminal42/contao-node": "1.5.11 || 1.5.12 || 1.5.13"

mlwebworker commented 1 year ago

Habe ich auch gemacht. Und inzwischen konnte ich die problematische Installation auch wieder auf PHP 8.1 umstellen.

qzminski commented 1 year ago

It should be fixed now, please update the extension again.

mlwebworker commented 1 year ago

Just tested in one installation. It runs without any problems. Thanks