Home » Knowledge Base » SEO Scripts FAQ » Deprecated: Function ereg_replace is deprecated Error

Knowledge Base

Deprecated: Function ereg_replace is deprecated Error

Posted 2011-06-15 in SEO Scripts FAQ

Some servers may get the following error after installing SEO Scripts and visiting the Admin CP:

Deprecated: Function ereg_replace() is deprecated in /home/path/klib/k_functions_text.php on line 127

This is a warning message that occurs with some server configurations, but can be easily fixed.

To fix the error you can edit the file config.php found in your base folder.

Open config.php, and find the following line (around line 29):

error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);

Change it to:


Now save config.php and you should be able to log in to Admin CP without problems.

This is a bug in SEO Scripts affecting certain server setups. If you need assistance with the error you can contact our support department for help.


77 powerful SEO scripts for under $100.

Real-time Backlink Rank Checker script.

Scriptalicious is in no way affiliated with myspace.com® or Google®. Google, PageRank™ and MySpace are the trademarks of their owners.