Can somebody help me fix deprecated function?

+1
0
-1

I don't have enough coding experience to fix these issues. I installed the theme without many errors, I got one but the theme is up on the site and works as it should. I am getting these errors with the slideshow

Deprecated function: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in _views_slideshow_preprocess_views_slideshow() (line 73 of /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 73 of /home/enlightr/public_html/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 73 of /home/enlightr/public_html/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 73 of /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/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 /home/enlightr/public_html/sites/all/modules/views_slideshow/theme/views_slideshow.theme.inc).

I have no idea how to change the deprecated function to the one it says to use instead.
Thanks

+1
0
-1

Hi James,

If you don't know how to modify code to fix these issues, You should hide these messages by going to Configuration > Development > At "Error messages to display", select "None".

Kind regards,
Will