Hello,
First of all thank you for the great module
I noticed that when switching to php 7.1
I get an error which puts the front end part of my Drupal site down when i display a slider.
This what i get in the watchdog logs.
Error : [] operator not supported for strings dans template_preprocess_bxslider_views_slideshow_main_frame() (ligne 27 dans /sites/all/modules/contrib/bxslider_views_slideshow/theme/bxslider_views_slideshow.theme.inc).
line 16 of bxslider_views_slideshow/theme/bxslider_views_slideshow.theme.inc says :
$rendered_rows = '';
where it should be something like
$rendered_rows = [];
I looked up in the issues and the problem in seemed to be fixed.
https://www.drupal.org/project/bxslider_views_slideshow/issues/2884520
Has the commit fixing the issue been submited ?
I downloaded a fresh version of the module and it is still like this on line 16 : $rendered_rows = '';
Thank you very much
Comment | File | Size | Author |
---|---|---|---|
#3 | bxslider_views_slideshow-compatible_with_php7-3018697-drupal_7.67.patch | 875 bytes | sreher |
Comments
Comment #2
cebab54 CreditAttribution: cebab54 as a volunteer commentedI have this problem too, is there a fix please?
Comment #3
sreher CreditAttribution: sreher as a volunteer commentedHere is a patch. Try this one.
Comment #4
tobiasb#2884520: PHP 7.1+: Error: [] operator not supported for strings in template_preprocess_bxslider_views_slideshow_main_frame()