Closed (fixed)
Project:
Views Nivo Slider
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2011 at 23:21 UTC
Updated:
26 Oct 2011 at 06:04 UTC
Jump to comment: Most recent file
Comments
Comment #1
dimrezh commentedThe following code fix worked for me (although I'm not sure that it is a correct way to do).
Locate the fragment of code (lines 122 and 123) in views_nivo_slider.module file:
And change to:
Comment #2
jeremyvanlanda commentedThat worked perfectly, thank you!
Setting to closed (fixed), but if someone who knows what they're doing wants to patch this feel free.
Comment #3
ron williams commentedMarked #1149264: Final stage of slider set-up...error message as duplicate. This should remain open until it is added to the module.
Comment #4
asauterChicago commentedI applied the following code above and this does not fix the issue for me. I still get the same error.
Comment #5
asauterChicago commentedJust to be clear I changed lines 123 and 124 in the template file from:
to the above code:
And I still get the error:
Notice: Undefined property: stdClass::$field_field_slider_image in template_preprocess_views_nivo_slider_view_nivo_sliderfields() (line 123 of /Users/julesandjaid/Sites/adsnet/modules/views_nivo_slider/views_nivo_slider.module).
Notice: Undefined property: stdClass::$field_field_slider_image in template_preprocess_views_nivo_slider_view_nivo_sliderfields() (line 123 of /Users/julesandjaid/Sites/adsnet/modules/views_nivo_slider/views_nivo_slider.module).
Notice: Undefined property: stdClass::$field_field_slider_image in template_preprocess_views_nivo_slider_view_nivo_sliderfields() (line 123 of /Users/julesandjaid/Sites/adsnet/modules/views_nivo_slider/views_nivo_slider.module).
Notice: Undefined property: stdClass::$field_field_slider_image in template_preprocess_views_nivo_slider_view_nivo_sliderfields() (line 123 of /Users/julesandjaid/Sites/adsnet/modules/views_nivo_slider/views_nivo_slider.module).
Notice: Undefined property: stdClass::$field_field_slider_image in template_preprocess_views_nivo_slider_view_nivo_sliderfields() (line 123 of /Users/julesandjaid/Sites/adsnet/modules/views_nivo_slider/views_nivo_slider.module).
Notice: Undefined property: stdClass::$field_field_slider_image in template_preprocess_views_nivo_slider_view_nivo_sliderfields() (line 123 of /Users/julesandjaid/Sites/adsnet/modules/views_nivo_slider/views_nivo_slider.module).
Comment #6
ckngPatch from #1 attached
Comment #7
ckngAccidentally included some whitespace changes in patch #6.
Here's a new one.
Comment #8
ckngCommitted to D7 dev
Comment #10
alexbern commentedadditional:
If you're gaining this error:
Undefined offset: 0 in template_preprocess_views_nivo_slider_view_nivo_sliderfields() (line 123)
try to wrap:
cheers
Comment #11
jasonglisson commentedI'm still getting this error. I've done all of these steps and nothing seems to be working.
Comment #12
amirtaiar commentedI am still getting the error + obvioslly it shown a blank image when reload the page.
Comment #13
ckng@alexbern
Please open new issue for new problem instead of polluting other issues.
If you've patch please create proper patch and attached to the correct issue.
@tk421jag, @amirtaiar
cannot reproduce what you mentioned, make sure you remove all old codes and get the latest dev