plogger function eregi is deprecated - Error

admin

Administrator
Staff member
If you are using the open source gallery script called Plogger and your encountering php errors such as 'function eregi is deprecated' here is a quick fix.

In plog-globals.php remove line 17

PHP:
error_reporting(E_ALL);

That will disable error reporting for plogger.

Or replace all instances of eregi to preg_match