Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: WebMAIL Lite 8 uses deprecated php Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Gimli
Newbie
Newbie


Joined: 03 March 2018
Location: Canada
Online Status: Offline
Posts: 10
Posted: 03 March 2018 at 5:49am | IP Logged Quote Gimli

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 View Gimli's Profile Search for other posts by Gimli
 
SupportMailBee
Newbie
Newbie


Joined: 18 July 2006
Location: Nigeria
Online Status: Offline
Posts: 3
Posted: 05 March 2018 at 1:22am | IP Logged Quote SupportMailBee

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 View SupportMailBee's Profile Search for other posts by SupportMailBee
 
Gimli
Newbie
Newbie


Joined: 03 March 2018
Location: Canada
Online Status: Offline
Posts: 10
Posted: 05 March 2018 at 10:29am | IP Logged Quote Gimli

Thank you!
Back to Top View Gimli's Profile Search for other posts by Gimli
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide