I have a Omega 7.x-4.0-beta3 subtheme and Views Slideshow: JCarousel 7.x-1.x-dev installed and working.

But it throws Warning: Warning: implode(): Invalid arguments passed in template_process() (line 2422 of PATH/includes/theme.inc).

  • If I disable Jcarousel module these warnings go away.
  • If I switch themes to generic theme and put on the jcarousel block that contains my view -- the warnings do NOT appear.
  • If I switch themes to omega base theme and put on the jcarousel block that contains my view -- the warnings DO appear. and it isn't issue with subtheme

So its definitely an interaction of Omeag 4 beta and JCarousel

The patch: http://drupal.org/node/1450846#comment-5887566 doesn't help, in fact it breaks the carousel.
Also tried adding the functions to template.php as described here and it didn't help: http://drupal.org/node/1700254
This person is also experiencing it: http://drupal.org/node/1951708#comment-7241032 (comment #6)

Comments

msmithcti’s picture

Status: Active » Needs review
StatusFileSize
new1.54 KB

Looks like this is indeed an issue with the module. Classes in ['attributes_array']['class'] should be in the form of an array, rather than a string, as is the case with the classes array. It seems when using Omega this causes problems that don't surface with other themes.

The attached patch ensures arrays are used for classes in attributes arrays and classes arrays, rather than strings.

nathanjo’s picture

Status: Needs review » Reviewed & tested by the community

works for me. thanks!

netw3rker’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Closed (fixed)

This also worked on Bartik, so I'm applying it. Thanks for the patch!