Notice: Undefined index: views_slideshow_jcarousel_pager_fields in _views_slideshow_jcarousel_preprocess_pager() (line 41 of /Users/bboland/src/lullabot/latin-grammy/docroot/sites/all/modules/contrib/views_slideshow_jcarousel/theme/views_slideshow_jcarousel.theme.inc).

Comments

BrockBoland’s picture

Status: Active » Needs review
StatusFileSize
new1.48 KB
jwilson3’s picture

@BrockBoland:

Do you happen to be using features with the view containing the slideshow, when you get this problem?

BrockBoland’s picture

@jwilson: yup

jwilson3’s picture

Ok, yeah, this is what i suspected... We're also having similar issues where the view_slideshow_jcarousel settings are constantly getting removed from the view after we sync and revert the view on the remote server. Immediately after we revert, we lose all jcarousel pager settings, get this same error, and have to reconfigure by hand.

So that being said, I'm not sure that the patch in #1 is the right solution to this.... but i'll try to give it a whirl to see if it resolves our errors too.

BrockBoland’s picture

Aha! I know exactly what you mean: I've been seeing the disappearing-option thing too, but it didn't occur to me that this might be related.

Ogredude’s picture

I'm having exactly this same issue when bringing a gallery with the jCarousel pager in through Features. Hand-building the slideshow, I've never had a problem.

I also get this error when I export a View through the Views UI and import it through Views UI on another site.

The only way I've found to halt the errors is to change the display to something else, then back to Slideshow and we have to hand-set the settings again.

jwilson3’s picture

Title: Notice: Undefined index: views_slideshow_jcarousel_pager_fields » Features / Views export integration broken, causes notice: Undefined index: views_slideshow_jcarousel_pager_fields
Status: Needs review » Needs work

I'm updating the title for visibility; this is kind of an important issue for a lot of shops that use features for exporting configs to code in Drupal 7.

Setting this back to needs work because the patch in #1 may get rid of the notice, but it doesn't really solve the root issue here: features / views export is broken.

grndlvl’s picture

StatusFileSize
new979 bytes

The problem was that the setting "views_slideshow_jcarousel_pager_fields" was not included in the hook_views_slideshow_option_definition().

Patch attached.

grndlvl’s picture

Status: Needs work » Needs review
imot3k’s picture

#8 works for me!

inky@inky3d.com’s picture

#8 worked for me too. Thanks!

netw3rker’s picture