Hi I am new to drupal and PHP development ,I recently upgraded from PHP 5.4.1 to PHP 5.5.1 and the error below started appearing below the slide show. I have no Idea how to fix this problem , I have tried the patch

Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in _views_slideshow_preprocess_views_slideshow() (line 73 of sites/all/modules/views_slideshow/theme/views_slideshow.theme.inc).

Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in _views_slideshow_preprocess_views_slideshow() (line 76 of sites/all/modules/views_slideshow/theme/views_slideshow.theme.inc).

Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in theme_views_slideshow_controls_widget_render() (line 275 of sites/all/modules/views_slideshow/theme/views_slideshow.theme.inc).

Comments

@Kambiyaso’s picture

Assigned: @Kambiyaso » Unassigned
xiukun.zhou’s picture

@Kambiyaso’s picture

Hi xiukun.zhou

Thanks, it turns out that all I had to do was just apply the patch on command line.
The problem was that I was trying to replace the code myself with limited PHP skills.

The solution was just to use the command line to patch.

Status: Fixed » Closed (fixed)

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