Encountered unexpected error at image fields with no preview style

Created on 15 December 2017, over 6 years ago
Updated 24 May 2024, about 1 month ago

I get an error while comparing two revisions when images changed, image thumbnail of the image field should be showed and no preview image style is set.

Error: Call to a member function transformDimensions() on null in template_preprocess_image_style() (line 288 of core/modules/image/image.module).
The website encountered an unexpected error. Please try again later.

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India neelam.chaudhary

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

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.69.0 2024