Closed (fixed)
Project:
Flex Slider
Version:
7.x-1.0-rc2
Component:
Views Slideshow Integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
30 Mar 2012 at 04:00 UTC
Updated:
29 Dec 2022 at 23:28 UTC
Jump to comment: Most recent
Comments
Comment #1
minoroffense commentedI'll add some typecasting when setting the variable. Working on it now and post an update once I have a fix.
Comment #2
minoroffense commentedI've applied the changes. Seems to do the job. Please test and let me know.
See commit http://drupalcode.org/project/flexslider.git/commit/bef77e5
Thanks!
Comment #3
efarg commentedUnfortunately, the described error
Undefined index: class in ais_preprocess_image() (Zeile 204 von /var/www/xxx/xxx/xxx/sites/all/modules/ais/ais.module)steps with me also after the patch #2 further on.
Comment #4
MD3 commentedJust wanted to confirm efarg's (#3) comment. Using the fields version of flexslider. I get the error message for every image on the next page (aka view a page with flexslider, then view another page and get the errors). So, when my slider has 3 images, I get 3 errors. When my slider has 2 images, I get 2 images. Fresh install of 7.12.
Adaptive Image Styles (ais) 7.x-1.0
Got to this thread from your link:
#1370186-7: Notice: Undefined index: class in ais_preprocess_image() (line 204
Error is:
Notice: Undefined index: class in ais_preprocess_image() (line 204 of [Drupal Base]/sites/all/modules/ais/ais.module).
Comment #5
mjohnq3 commentedVerifying #3 and #4: I get the same error - one error each per image. If only one image is uploaded it displays; more than one image just throws an error for each image - none of the images are displayed.
AIS 7.x-1.0, Flexslider 7.x-1.0-rc2, clean install of Drupal 7.12.
Comment #6
minoroffense commentedAlright I'm a little confused. Is this an issue with Flex Slider or AIS? If the error message you're getting is Undefined index: class in ais_preprocess_image() then this should be in the AIS issue queue.
Is anyone getting an error from Flex Slider?
Can you disable AIS and see if Flex Slider works?
Comment #7
minoroffense commentedI just noticed we've gone off topic for this issue. If you get an error with Flex Slider alone, please open a new issue describing the error.
But the original problem of the slideToStart value should be fixed.
Thanks!
Comment #8
malaysian.selangor commentedHi, I am using flexslider for view slideshow and I am using a block.
The flexslider collapsed after the first image.
Thanks for reply
Comment #9
marcoka commentedit works fine here with the latest dev. i have two images in the slide, everything is fine, so i can not confirm this
Comment #10
socalgmc commentedI'm using Flex Slider directly with Image fields, and the first(default) slide collapses. Occasionally it will flash across the screen before collapsing. Only until the second slide loads will the fist slide become available.
Same problem with both 7.x-1.0-rc2 and dev versions. I'm using a clean install of the latest Drupal 7.
Thanks.
Comment #11
minoroffense commentedThis issue is related to the slideToStart value was set as a string instead of int. That has been resolved. If you have a new issue not related to this one please open a new issue.
Thanks