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

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
ereg_replace.

From:  Tahnan Al Anas <tah...@gmail.com>
Reply-To:  <qmailtoaster-list@qmailtoaster.com>
Date:  Wednesday, July 3, 2019 at 1:12 PM
To:  <qmailtoaster-list@qmailtoaster.com>
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
103.220.205.67:14181 <http://103.220.205.67:14181> ] PHP Fatal error:
Uncaught Error: Call to undefined function ereg_replace() in
/usr/share/toaster/include/admin.inc.php:15\nStack trace:\n#0
/usr/share/toaster/include/admin.inc.php(39):
read_file('/usr/share/toas...')\n#1
/usr/share/toaster/include/admin.inc.php(59): verify_old_password(NULL)\n#2
/usr/share/toaster/include/admin.inc.php(94): 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/admin.inc.php on line 15


--
--

Best Regards
Muhammad Tahnan Al Anas


Reply via email to