Deprecated: Function eregi() when installing theme now
I just update to the latest version of WP (v2.9.1), and now my Atahualpa 3.4.5.1 theme (I just updated this from 3.4.1) gives the following message when I try to use it..
Code:
Deprecated: Function eregi() is deprecated in /Library/webserver/documents/wordpress/wp-content/themes/atahualpa345/functions/bfa_rotating_header_images.php on line 33 Can anyone please help? Thank you. |
What version of PHP are you running?
|
PHP Version 5.3.0
www.entropy.ch Release 3 Universal Binary i386/x86_64/ppc7400/ppc64 - this machine runs: x86_64 |
I found the following page that talks about this and other depreciated functions - though I am not a PHP programmer, this one looks like it might be a quick fix for you to implement.
See: http://takien.com/how-to-fix-functio...-in-php-5-3-0/ I hope you are going to address this, because this theme is awesome! I love all the customization options. |
Hi thanks, I found something similar and am waiting for a reaponse from Flynn of how he wants the code changed.
|
For me exactly the same problem occourd when using zingiri webshop.
I managed to solve the rotating header image problem by replacing the line 33 with this one if(preg_match('#.jpg#', $filename) || preg_match('#.gif#', $filename) || preg_match('#.png#', $filename)) { more on this theme here http://devthought.com/tumble/2009/06...ors-in-php-53/ however atahualpa and zingiri seem not to get along well since now I'm not able to configure atahualpa options. I have an error from bfa_ata_admin.php line 362 |
All times are GMT -6. The time now is 03:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.