Create_function() is deprecated

Hello.

The Email Forms plugin still uses create_function(). It’s been deprecated since PHP 7.2.

Please replace it asap. It’s terrible practice to use anyways.

[17-Dec-2019 11:22:17 UTC] PHP Deprecated:  Function create_function() is deprecated in .../wp-content/plugins/tco-email-forms/email-integration/functions/framework/setup.php on line 28

Server on PHP 7.3, WP and everything else latest version.

Hi @sparkhouse_gbg,

Thank you for writing in, can you confirm that the Email Forms extension is in the latest version as well? In any case, this is a PHP notice. You can get rid of this notice if you disable the WP Debug mode in your WordPress installation. You can do this by opening wp-config.php file and adding:

define( 'WP_DEBUG' , false );

Just above

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should no longer be seeing the notice.

Please let us know how it goes,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.