🇮🇳India @gawalin

Account created on 31 May 2021, about 3 years ago
#

Recent comments

🇮🇳India gawalin

I've generated a patch to address this issue. Could someone please test it and confirm it's right approach to resolve this.

🇮🇳India gawalin

Below code worked for me.

{{ item.url.getOption('container_attributes').class[0] }}

🇮🇳India gawalin

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

🇮🇳India gawalin

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)

Production build 0.69.0 2024