Closed (fixed)
Project:
Responsive images and styles
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
9 Aug 2012 at 10:10 UTC
Updated:
14 Oct 2013 at 13:02 UTC
Jump to comment: Most recent
Comments
Comment #1
attiks commentedComment #2
jelle_sfixed in latest dev
Comment #4
tfranz commentedI have the same error – is the latest DEV stable enough for live-sites?
Or is there an easy hack/ patch for 7.13?
Or should i use 7.x-2.0-beta3 instead?
Thank you for your (quick ;) help!
[EDIT]: Setting the array keys in quotes seems to help (line 192 ff)
Comment #5
Cyclodex commentedhmm I think you are doing it wrong, like this you just use the 'RESP_IMG_RATIO_COOKIE' as a string, but it should be the defined CONSTANT, which should have the value of
respimg_ratioIt looks more as the first lines are not correct, just because the constant
RESP_IMG_COOKIEis defined does not mean theRESP_IMG_RATIO_COOKIEis defined too. (At least it looks like)So defining it something like that, seems to work for me:
The newer branch seems to do this differently, at least I could not find this constant defining the same cookie name. Its implemented differently there
Comment #6
ashhishhh commentedHi There,
For me this notice pops up when I enable drupal cache.
#5 has fixed this for me.
Thanks,
Ashish