I am running on the latest dev and getting the following error:
Strict warning: Only variables should be passed by reference in resp_img_field_attach_view_alter() (line 303 of /sites/all/modules/resp_img/resp_img.module).
The images are somehow not being output correctly.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | resp_img_strict_warning_resolve-1813364.patch | 712 bytes | jaffaralia |
Comments
Comment #1
jaffaralia commentedHere's a patch the
reset($breakpoint_styles['mapping'])function had been assigned to a variable $reset and it has been send toreset($reset)function after that warning message disappear. When tested it worked for me.Comment #2
luksakThank you! The warnings are gone. Now I am getting this error:
Notice: Undefined index: uri in theme_picture() (line 374 of /sites/all/modules/resp_img/resp_img.module).The images are still not showing...
Comment #3
attiks commentedComment #4
jaffaralia commentedI can't replicate this notice can you explain how you configured the breakpoints and reponsive image and style.
Comment #5
attiks commented#2 Looks to me this is unrelated to this patch, as suggested in #4 can you check you're settings? If the problem still exists can you create a new issue, so we can use this one to keep track of the patch.
Comment #6
jelle_sFixed in latest dev. Thanks for the patch!
Comment #7
jelle_sForgot the status :-)