There are some issues with Views Slideshow when running PHP 5.4 or newer:

  • Strict warning: Declaration of views_slideshow_plugin_style_slideshow::options_validate() should be compatible with views_plugin::options_validate($form, &$form_state) in views_include_handler() (line 98 of sites/all/modules/contrib/views/includes/handlers.inc).
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
563 bytes

This should do it.

Michelle’s picture

I made a D6 version of the change in #1872616: PHP 5.4.x: "preg_replace() /e modifier is deprecated, use preg_replace_callback()" and also fixed this issue when it came up because I had completely forgotten about this issue. When I went to apply it to the client's code, which was already patched, I was reminded of this issue. :) So I am moving my patch, which also contains this patch, over here.

balis_m’s picture

I' ve created the patch of #1, to be compatible with latest 6.x-2.x-dev

DamienMcKenna’s picture

Just to be clear:

osopolar’s picture

The changes to function options_validate(&$form, &$form_state) may not be necessary, see #52 of the related views issue.

  • NickWilde committed 0013cf1 on 6.x-3.x
    Issue #2512896 by DamienMcKenna, Michelle, balis_m: PHP 5.4+...

  • NickWilde committed 45214f4 on 6.x-2.x authored by balis_m
    Issue #2512896 by DamienMcKenna, Michelle, balis_m: PHP 5.4+...
NickDickinsonWilde’s picture

Status: Needs review » Fixed

Mostly applied to both 6.x-2.x and 6.x-3.x, thanks for the patches. Only a year for some of it.

Status: Fixed » Closed (fixed)

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