Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module conflicts with the simpleads module. They both implement hook_requirements() with the key jquery.cycle. The documentation for hook_requirements() specifies that the key must be unique. The result is an Array getting passed to Status Report instead of a string. To resolve this, on views_slideshow_cycle.install change multiple occurances of $requirements['jquery.cycle']
to $requirements['views_slideshow_cycle']
. See also: #2042895: Notice: Array to string conversion in C:\WEB\drupal7\modules\system\system.module on line 2785
Comment | File | Size | Author |
---|---|---|---|
#3 | views_slideshow-fix-requirements-2481571-3.patch | 2.86 KB | Chris Gillis |
Comments
Comment #1
Chris Gillis CreditAttribution: Chris Gillis commentedComment #2
Chris Gillis CreditAttribution: Chris Gillis commentedAlso, while I'm there I notice only some of the references to t() are using $t(). If I have time I'll do up a patch...
Comment #3
Chris Gillis CreditAttribution: Chris Gillis commentedComment #4
NickDickinsonWildeThe
$t
references are intentional; that can also be run at install time when the database may or may not be available.but definitely those strings should be namespaced like in your patch to prevent collision. Thanks :) and applying.