🇪🇸Spain @pnavarrr

Account created on 16 December 2021, about 3 years ago
#

Recent comments

🇪🇸Spain pnavarrr

Hello,
In my case, this error is still ocurring in the twig_tweak module, so trying to apply the patch of comment #4 🐛 Deprecated function: pathinfo() on TwigExtension::image_style() Needs review is working for me.
I'm using PHP 8.1, Drupal core 9.5.11 and the version of Twig tweak is 8.2.10 so, the error for me looks like this one:

Deprecated function: pathinfo(): Passing null to parameter #1 ($path) of type string is deprecated in Drupal\image\Entity\ImageStyle->supportsUri() (line 385 of core/modules/image/src/Entity/ImageStyle.php).
Drupal\image\Entity\ImageStyle->supportsUri(NULL) (Line: 1075)
Drupal\twig_tweak\TwigExtension->imageStyle(NULL, 'card_image_134x160') (Line: 62)

Production build 0.71.5 2024