Trying to access array offset on value of type bool in image.module

Created on 9 April 2021, about 3 years ago
Updated 15 June 2023, about 1 year ago

Problem/Motivation

In image.module on line 985, this error may occur: Trying to access array offset on value of type bool.

Steps to reproduce

See: https://www.drupal.org/pift-ci-job/2027230 β†’

πŸ› Bug report
Status

Needs review

Version

7.0 ⚰️

Component
Image systemΒ  β†’

Last updated about 19 hours ago

Created by

πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

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.

  • πŸ‡ΈπŸ‡°Slovakia poker10

    Thanks @Liam Morland!

    Is this issue still relevant? I see that the Features module does pass PHP 8 tests currently ( https://www.drupal.org/node/401392/qa β†’ ), so I am curious if this was a D7 core issue, which was fixed by some other issue, or it was a Features bug (probably sending an incomplete data to the image_style_flush), which is already fixed.

Production build 0.69.0 2024