Error message
Undefined index local in image_resize_filter_get_images() (line 121 of modules/contrib/image_resize_filter/image_resize_filter.module)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3100957-5.patch | 812 bytes | gnuget |
| #5 | image_resize.png | 36.42 KB | gnuget |
Error message
Undefined index local in image_resize_filter_get_images() (line 121 of modules/contrib/image_resize_filter/image_resize_filter.module)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3100957-5.patch | 812 bytes | gnuget |
| #5 | image_resize.png | 36.42 KB | gnuget |
Comments
Comment #2
alecostaweb commentedComment #3
ippy commentedYes, we can see this on one of our client's sites too. Discovered in the logs due to reports of a mangled slider.
Notice: Undefined index: local in image_resize_filter_get_images() (line 121 of /modules/contrib/image_resize_filter/image_resize_filter.module
No time to dig deeper now unfortunately, but the original report is not an isolated incident.
Uninstalling, but may revisit. Will post anything useful if we do.
[edit: 8.x-1.0-beta1 on 8.7.9]
Comment #4
gnugetCan you please provide the steps to reproduce the bug?
I noted this error in the tests but in theory configuring the filter should make that this error don't happen.
Thanks!
Comment #5
gnugetAfter debugging this it seems that the problem is that there aren't default values for the "image_locations" values (even that I wasn't able to reproduce the bug on my local the tests were indeed failing because of this.
I added the default values if this is still happening to you try editing the options of the filter and save them again so the value is set in the configuration.
Patch with the default values attached.
Comment #7
gnuget