Thank you so much for your response. It's truly helpful.
I've generated a patch to address this issue. Could someone please test it and confirm it's right approach to resolve this.
gawalin → created an issue.
Below code worked for me.
{{ item.url.getOption('container_attributes').class[0] }}
gawalin → created an issue.
Had the same problem, cache rebuild not solving the problem.
Steps to reproduce the error:
Run the composer require drupal/twig_tweak.
drush cr
drush uli
I ran into the same issue upgrading from 1.15.0 => 3.0.1. So I have disabled and enabled module . In the configuration when I click on the "Save Configuration " nothing is happening and error is showing in the error log.
Error statement:
Warning: foreach() argument must be of type array|object, null given in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 113 of C:\xampp-php-8.1\htdocs\website\docroot\core\lib\Drupal\Core\Render\Element\Checkboxes.php)
Any help would be appreciated!
Hello , @znaeff
Any updates on this?
Thank You!