TypeError: Drupal\rift\Html\ImgElement::setWidth(): Argument #1 ($width) must be of type int, null given

Created on 20 December 2024, 2 days ago

Problem/Motivation

TypeError: Drupal\rift\Html\ImgElement::setWidth(): Argument #1 ($width) must be of type int, null given, called in /app/web/modules/contrib/rift/src/Plugin/RiftMediaSource/ImageSourceBase.php on line 49 in Drupal\rift\Html\ImgElement->setWidth() (line 234 of /app/web/modules/contrib/rift/src/Html/ImgElement.php).

Proposed resolution

Add nullable option to setWidth parameter.

๐Ÿ› Bug report
Status

Active

Version

1.3

Component

Code

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain gxleano Cรกceres

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024