- πͺπΈSpain missvengerberg
Hi, I have the same problem in a project and the patches cannot be applied for v3.12 or dev, so created a new patch.
I noticed this error:
Notice: Undefined index: sources in lazy_preprocess_responsive_image() (line 287 of modules/contrib/lazy/lazy.module).
lazy_preprocess_responsive_image(Array, 'responsive_image', Array) (Line: 287)
Occuring on certain pages. I went through the debugger and found that some images sent to this hook do not have a sources key at all, and thus no data. This was causing errors inside this hook which assumes this key will always be present. I noticed that certain responsive image styles with no breakpoints set will cause the sources key to be empty.
Have an empty sources key for an element passed to this hook. Occurs when no breakpoints are set for a responsive image style.
To stop this issue we should skip images if the sources key does not exist.
none
none
none
none
Postponed: needs info
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Hi, I have the same problem in a project and the patches cannot be applied for v3.12 or dev, so created a new patch.