Encountered unexpected error at image fields with no preview style

Created on 15 December 2017, about 7 years ago
Updated 24 May 2024, 7 months 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.

  • 🇮🇳India dev16.addweb

    Patch updated with latest code changes.

  • Pipeline finished with Success
    7 months ago
    Total: 463s
    #177944
  • Status changed to Needs work 7 months ago
  • 🇦🇺Australia acbramley

    Still needs tests.

    @silvi.addweb please ensure you are fully reading what is required to put these issues into Needs Review before you do. I have spent a lot of time responding to your issues that are in Needs review but are clearly not ready.

    Also please make sure to follow the instructions for checking out and pushing branches to gitlab, it looks like you're committing and pushing work on the fork's 8.x-1.x branch.

Production build 0.71.5 2024