Applied my views slideshow galleria option and saved the view. When i go to the page i get an error:

Notice: Undefined offset: 1 in template_preprocess_views_slideshow_galleria_main_frame() (line 21 of /Users/cale/Sites/acquia-drupal/sites/all/modules/views_slideshow_galleria/views_slideshow_galleria.theme.inc).

galleria does work but can't get rid of the error.

CommentFileSizeAuthor
#2 views_slideshow_galleria-1517358-2.patch761 bytessgabe

Comments

calefilm’s picture

actually i created a new view and error went away. So can't figure out what made this error appear in the first place.

sgabe’s picture

Title: Undefined offset error when using views » Undefined offset error when the view is empty
Status: Active » Fixed
StatusFileSize
new761 bytes

The error occurs because your view is empty, there are no images to display. The attached patch has been committed to both branches.

calefilm’s picture

Thank you Sgabe :) Works without the error now thanks for posting the patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.