Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   eregi deprecated; preg_match returning error msg of missing delimiter (http://forum.bytesforall.com/showthread.php?t=18891)

berkleegrad Nov 12, 2012 08:52 AM

eregi deprecated; preg_match returning error msg of missing delimiter
 
I am using ATA 3.5.3 on my blog (which I have been neglecting recently). Today it showed an error msg in the rotating header section about eregi being deprecated. A web search revealed that eregi should be replaced with preg_match, which I applied to line 33 of bfa_rotating_header_images.php. I am now getting the following error msg:

Warning: preg_match() [function.preg-match]: No ending delimiter '.' found in /home/coudr3/public_html/media-organic/wp-content/themes/atahualpa353/functions/bfa_rotating_header_images.php on line 33

This looks like it should be an easy fix but I've tried a few things and they have not been successful. Any help would be much appreciated.

lmilesw Nov 12, 2012 10:14 AM

I'm not sure what the implications are of making that change. Have you considered a manual update to 3.7.9 or perhaps seeing if all patches, if any, for 3.5.3 are applied.


All times are GMT -6. The time now is 12:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.