Author |
|
Gimli Newbie
Joined: 03 March 2018 Location: Canada
Online Status: Offline Posts: 10
|
Posted: 03 March 2018 at 5:49am | IP Logged
|
|
|
I'm trying to install WebMAIL Lite 8 on a brand new server that runs PHP 7.2.3 (the latest, which complies with the system requirement of "•PHP engine: 5.5 or newer" but the database table creation script fails with the following errors:
[13:34:06.41>[6ce795e7> API: AdminPanelWebclient::CreateTables
[13:34:06.42>[6ce795e7> PHP[NOTICE>: C:\WebMailPHP8\system\Managers\Eav\Storages\Db\CommandCreator.php [line:446, code:2>
[13:34:06.42>[6ce795e7> PHP[NOTICE>: Error: count(): Parameter must be an array or an object that implements Countable
[13:34:06.43>[6ce795e7> PHP[NOTICE>: C:\WebMailPHP8\system\Api.php [line:524, code:8192>
[13:34:06.44>[6ce795e7> PHP[NOTICE>: Error: Function create_function() is deprecated
[13:34:06.44>[6ce795e7> PHP[NOTICE>: C:\WebMailPHP8\system\Managers\Eav\Storages\Db\CommandCreator.php [line:446, code:2>
[13:34:06.45>[6ce795e7> PHP[NOTICE>: Error: count(): Parameter must be an array or an object that implements Countable
[13:34:06.46>[6ce795e7> PHP[NOTICE>: C:\WebMailPHP8\system\Api.php [line:524, code:8192>
[13:34:06.46>[6ce795e7> PHP[NOTICE>: Error: Function create_function() is deprecated
After looking online it appears that create_function() is no longer supported in PHP 7.2. Is there a way to fix that other than installing an older version of PHP?
|
Back to Top |
|
|
SupportMailBee Newbie
Joined: 18 July 2006 Location: Nigeria
Online Status: Offline Posts: 3
|
Posted: 05 March 2018 at 1:22am | IP Logged
|
|
|
This is a known problem and we'll be releasing an update soon. For now, I'd recommend to tweak error_reporting level so that PHP notices are suppressed as non-critical ones.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Gimli Newbie
Joined: 03 March 2018 Location: Canada
Online Status: Offline Posts: 10
|
Posted: 05 March 2018 at 10:29am | IP Logged
|
|
|
Thank you!
|
Back to Top |
|
|