We used preg_replace() and not ereg_replace() in our plugin as ereg_replace() was deprecated in PHP version 5.3.
When you use both ereg_replace() and preg_replace() at the same time PHP will sometimes throw that error. Meaning if you already have another plugin installed using ereg_replace() even though its deprecated when installing our plugin you will get that error even though our plugin is using the correct function.
You have a few possible solutions.
First, Update all your themes and plugins as newer version of these add-ons may have already corrected the deprecated function. If this doesn’t work look at the error as the message will tell you which file has the deprecated function and notify the developer of the deprecated function.
Second, if you feel comfortable working in PHP look for the ereg_replace() among your other plugins and replace it with preg_replace():
Old:
ereg_replace(“.*\.(.*)$” , “\\1” , “foo.jpg”);
New:
preg_replace(“/.*\.(.*)$/” , “\\1” , “foo.jpg”);
Notice the additional delimiters as PHP 5.3 requires the “/” as a delimiter.
Third, go to lines 119 and 128 of the file “class.yksemeBase.php file and revert back to ereg_replace (not recommended).