TypeError: Argument 1 passed to Drupal\juicebox\JuiceboxFormatter::styleImageSrcData() must implement interface Drupal\file\FileInterface, null given

Created on 1 July 2022, over 2 years ago
Updated 10 December 2023, about 1 year ago

Problem/Motivation

Error to edit layout builder with content type

The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\juicebox\JuiceboxFormatter::styleImageSrcData() must implement interface Drupal\file\FileInterface, null given, called in /var/www/example.com/modules/contrib/juicebox/src/Plugin/Field/FieldFormatter/JuiceboxFieldFormatter.php on line 294 in Drupal\juicebox\JuiceboxFormatter->styleImageSrcData() (line 312 of modules/contrib/juicebox/src/JuiceboxFormatter.php).

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

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.

  • πŸ‡ΊπŸ‡ΈUnited States luke.leber Pennsylvania

    Hello! This should be resolved with https://www.drupal.org/project/juicebox/issues/3372033 πŸ› Error with layout builder Fixed which was just committed to 4.0.x-dev.

    I plan on cutting a 4.0.0-alpha2 release within the week. Sorry for the delay in resolving this.

    If there's still a problem after updating, please don't hesitate to reopen this issue. In the meantime, I've moved issue credits over as appropriate :-).

    Thanks!

Production build 0.71.5 2024