Function create_function() is deprecated

Hi,
I just installed suitecrm 7.10.3 on Windows Server 2012 R2, Apache 2.4.29, PHP 7.2.0, MariaDB 10.2 Environment

after Installation process I got five Messages on top of the screen:

Deprecated: Function create_function() is deprecated in D:\Apache24\htdocs\crm\include\Smarty\Smarty_Compiler.class.php on line 269
Deprecated: Function create_function() is deprecated in D:\Apache24\htdocs\crm\include\Smarty\Smarty_Compiler.class.php on line 269
Deprecated: Function create_function() is deprecated in D:\Apache24\htdocs\crm\include\Smarty\Smarty_Compiler.class.php on line 269
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in D:\Apache24\htdocs\crm\include\Smarty\Smarty_Compiler.class.php on line 559
Deprecated: Function create_function() is deprecated in D:\Apache24\htdocs\crm\include\Smarty\Smarty_Compiler.class.php on line 269

does anyone know how to fix this Error messages?

Thanks for your help

It is normal for PHP to throw a lot of error messages. Part of the necessary initial setup is to make sure these messages don’t appear on screen, they should go to the logs.

For this you need to edit your php.ini and turn off display_errors

1 Like