in my case, to render webform element title, and the element itself:
{{ form.elements.name['#title'] }}
{{ form.elements.name|without('#title') }}
I have this problem.
Drupal 9.5
Business Responsive Theme version: '8.x-1.3'
I just made a simple change and added some twig files.
The strange thing is that this problem does not always appear... I am still searching for possible causes
this one worked with me.
composer require drupal/inline_entity_form:^1.0-rc15
Although previous attempts failed; The module is now working.
I intended to migrate to Drupal 9 and then update the modules to the latest version; And I updated the Mariadb database from version 5 to version 11 .. I did not make any other modification.
Oddly enough, this module is now working.
i don't solve it by Downgrading commerceguys/addressing.
however i face similar error, but with small differences
Fatal error: Declaration of Drupal\address\Repository\CountryRepository::loadDefinitions($locale) must be compatible with CommerceGuys\Addressing\Country\CountryRepository::loadDefinitions(string $locale): array in /home/***/public/modules/contrib/address/src/Repository/CountryRepository.php on line 43
instead on line 38.
my issue are
here
💬
White page, on all nodes that use Address module
Fixed
actuality, i don't solve it yet and i mentioned that.
Even, this patch doesn't work and i still face same error.
https://www.drupal.org/files/issues/2022-11-09/3302484-28-for-8.x-1.9.patch →
As mentioned here → and many another posts, Downgrading commerceguys/addressing don't work currently.
composer require commerceguys/addressing:1.3.0 drupal/address
- Downloading commerceguys/addressing (v1.3.0)
- Downgrading commerceguys/addressing (v1.4.2 => v1.3.0): Extracting archive
@Abyss
No, i cant Create a new node with Address module field either.
@bojanz
thank you, i changed display_errors to display_errors=on; so i can track the error
Fatal error: Declaration of Drupal\address\Repository\CountryRepository::loadDefinitions($locale) must be compatible with CommerceGuys\Addressing\Country\CountryRepository::loadDefinitions(string $locale): array in /home/***/public/modules/contrib/address/src/Repository/CountryRepository.php on line 43
temporary solution: i disabled webform_share module by:
drush pmu webform_share
actually, i tried remove ResponseEvent from the code below, as it worked in this → , but it doesn't work with me.
public function onResponse(ResponseEvent $event) {
if (!WebformShareHelper::isPage($this->routeMatch)) {
return;
}