TypeError: Drupal\easy_responsive_images\TwigExtension\ImageUrl::createImageUrl(): Argument #1 ($uri) must be of type string, null given

Created on 22 November 2022, almost 2 years ago
Updated 16 March 2023, over 1 year ago

Problem/Motivation

When an image URL can no longer be found, for whatever reason, the twig filter breaks pages hard.

TypeError: Drupal\easy_responsive_images\TwigExtension\ImageUrl::createImageUrl(): Argument #1 ($uri) must be of type string, null given

Proposed resolution

This should not be the case, we should fail more gracefully.

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇳🇱Netherlands seanB Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024