ereg_replace has been deprecated. You must have a newer version of PHP

I'm sure Eric has a more recent version of that particular file you can
replace yours with, but it's an easy fix to use preg_replace instead of

From:  Tahnan Al Anas <>
Reply-To:  <>
Date:  Wednesday, July 3, 2019 at 1:12 PM
To:  <>
Subject:  [qmailtoaster] update regarding admin-toaster

Hi Eric,

httpd error log showing following

[Wed Jul 03 23:10:47.285678 2019] [php7:error] [pid 10446] [client <> ] PHP Fatal error:
Uncaught Error: Call to undefined function ereg_replace() in
/usr/share/toaster/include/\nStack trace:\n#0
/usr/share/toaster/include/ verify_old_password(NULL)\n#2
/usr/share/toaster/include/ change_admin_password(NULL,
NULL, NULL)\n#3 /usr/share/toaster/htdocs/admin/index.php(79):
print_change_passwd(NULL, NULL, NULL)\n#4 {main}\n  thrown in
/usr/share/toaster/include/ on line 15


Best Regards
Muhammad Tahnan Al Anas

Reply via email to